aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2013-09-02 18:59:40 +0200
committerwsnipex <wsnipex@a1.net>2013-10-07 09:04:38 +0200
commit5656fc89c751b3f668d5bb831cd7624d02041288 (patch)
tree696dea648af16664b585199c6230f3254c5c58e6
parentdb9fa0ad1b0706c86c1ab2c86365f5cfca4b6f9a (diff)
try to fix gmp compilation on android
-rw-r--r--tools/depends/target/gmp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/gmp/Makefile b/tools/depends/target/gmp/Makefile
index ed860fceee..3824dff2f1 100644
--- a/tools/depends/target/gmp/Makefile
+++ b/tools/depends/target/gmp/Makefile
@@ -9,14 +9,14 @@ ARCHIVE=$(SOURCE).tar.bz2
# ABI selection
ifeq (,$(findstring x86_64,$(HOST)))
- ABI=32
-else
- ABI=64
+ifneq ($(OS),android)
+ ABI=ABI=32
+endif
endif
# configuration settings
CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \
- ./configure --prefix=$(PREFIX) --disable-shared ABI=$(ABI)
+ ./configure --prefix=$(PREFIX) --disable-shared $(ABI)
LIBDYLIB=$(PLATFORM)/src/.libs/$(LIBNAME).a