From 2f78e0f0e9a61b6a26afdff908b67b9856fe64d7 Mon Sep 17 00:00:00 2001 From: Memphiz Date: Thu, 1 Jan 2015 00:23:05 +0100 Subject: [depends/nettle/ios] - on older ios toolchains we need to disable assembly because gcc 4.2 (xcode3) doesn't know about ".int" asm operator --- tools/depends/target/nettle/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3