aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/depends/target/nettle/Makefile8
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