From 0017dca1c149c2ac7048720b202e2a44988a5e27 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Thu, 4 Sep 2014 20:59:24 +0200 Subject: port OpenADK to a Debian/x32 host Signed-off-by: Thorsten Glaser --- toolchain/gmp/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'toolchain/gmp') diff --git a/toolchain/gmp/Makefile b/toolchain/gmp/Makefile index a8ec71088..fbc8687e0 100644 --- a/toolchain/gmp/Makefile +++ b/toolchain/gmp/Makefile @@ -10,6 +10,10 @@ ifeq (${ADK_MAKE_PARALLEL},y) GMP_MAKEOPTS+= -j${ADK_MAKE_JOBS} endif +ifeq (${ARCH_FOR_BUILD},x32) +GMP_CONFOPTS+= ABI=x32 +endif + $(WRKBUILD)/.headers: $(WRKBUILD)/.configured: ifneq ($(OStype),Darwin) @@ -17,7 +21,7 @@ ifneq ($(OStype),Darwin) endif (cd $(WRKBUILD); \ PATH="$(STAGING_HOST_DIR)/usr/bin:$$PATH" \ - ./configure \ + ./configure ${GMP_CONFOPTS} \ --prefix=$(STAGING_HOST_DIR)/usr \ --with-pic \ --disable-shared \ -- cgit v1.2.3