diff options
author | Memphiz <memphis@machzwo.de> | 2015-01-01 00:23:05 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2015-01-01 00:28:16 +0100 |
commit | 2f78e0f0e9a61b6a26afdff908b67b9856fe64d7 (patch) | |
tree | 24fccaae469b7260f99ba2efaed4681b51dc0b0c | |
parent | 4813693a8e64a1eb7e1aa2b624aa5397dd31c5f6 (diff) |
[depends/nettle/ios] - on older ios toolchains we need to disable assembly because gcc 4.2 (xcode3) doesn't know about ".int" asm operator
-rw-r--r-- | tools/depends/target/nettle/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/depends/target/nettle/Makefile b/tools/depends/target/nettle/Makefile index b546236a2d..df823eacf2 100644 --- a/tools/depends/target/nettle/Makefile +++ b/tools/depends/target/nettle/Makefile @@ -7,9 +7,15 @@ VERSION=2.7.1 SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.gz +ifeq ($(OS),ios) + ifneq (,$(findstring 3.,$(XCODE_VERSION))) + CONFIGURE_FLAGS=-disable-assembler + endif +endif + # configuration settings CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \ - ./configure --prefix=$(PREFIX) --disable-shared --disable-openssl + ./configure --prefix=$(PREFIX) --disable-shared --disable-openssl $(CONFIGURE_FLAGS) LIBDYLIB=$(PLATFORM)/lib$(LIBNAME).a |