Commit 7ee26699 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/gcrypt: fix compilation for iOS

parent 0397d637
......@@ -22,6 +22,11 @@ GCRYPT_CONF = \
ifdef HAVE_WIN64
GCRYPT_CONF += --disable-asm
endif
ifdef HAVE_IOS
GCRYPT_EXTRA_CFLAGS = -fheinous-gnu-extensions
else
GCRYPT_EXTRA_CFLAGS =
endif
ifdef HAVE_MACOSX
GCRYPT_CONF += --disable-aesni-support
else
......@@ -37,6 +42,6 @@ endif
.gcrypt: libgcrypt
#$(RECONF)
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(GCRYPT_CONF)
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) $(GCRYPT_EXTRA_CFLAGS)" ./configure $(HOSTCONF) $(GCRYPT_CONF)
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment