diff options
author | Memphiz <memphis@machzwo.de> | 2014-12-31 21:39:48 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2015-01-01 00:28:17 +0100 |
commit | 7649542313aaf6df9ddf8ba0a8d829f55d870721 (patch) | |
tree | 493b9a50a19014b8469f1404663b54812c64cdbf /tools/depends/target/gmp/Makefile | |
parent | 2f78e0f0e9a61b6a26afdff908b67b9856fe64d7 (diff) |
[depends/gmp/ios] - fix compilation of gmp - needed for gnutls
Diffstat (limited to 'tools/depends/target/gmp/Makefile')
-rw-r--r-- | tools/depends/target/gmp/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/depends/target/gmp/Makefile b/tools/depends/target/gmp/Makefile index 7484abf0de..11f8dcbd09 100644 --- a/tools/depends/target/gmp/Makefile +++ b/tools/depends/target/gmp/Makefile @@ -18,9 +18,14 @@ ifeq ($(OS),linux) endif endif +ifeq ($(OS),ios) +CONFIGURE_FLAGS=CC_FOR_BUILD=llvm-gcc CPP_FOR_BUILD="llvm-gcc -E" --disable-assembly +endif + # configuration settings CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \ - ./configure --prefix=$(PREFIX) --disable-shared $(ABI) + ./configure --prefix=$(PREFIX) --disable-shared $(ABI) $(CONFIGURE_FLAGS) + LIBDYLIB=$(PLATFORM)/.libs/lib$(LIBNAME).a |