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 = \ ...@@ -22,6 +22,11 @@ GCRYPT_CONF = \
ifdef HAVE_WIN64 ifdef HAVE_WIN64
GCRYPT_CONF += --disable-asm GCRYPT_CONF += --disable-asm
endif endif
ifdef HAVE_IOS
GCRYPT_EXTRA_CFLAGS = -fheinous-gnu-extensions
else
GCRYPT_EXTRA_CFLAGS =
endif
ifdef HAVE_MACOSX ifdef HAVE_MACOSX
GCRYPT_CONF += --disable-aesni-support GCRYPT_CONF += --disable-aesni-support
else else
...@@ -37,6 +42,6 @@ endif ...@@ -37,6 +42,6 @@ endif
.gcrypt: libgcrypt .gcrypt: libgcrypt
#$(RECONF) #$(RECONF)
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(GCRYPT_CONF) cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) $(GCRYPT_EXTRA_CFLAGS)" ./configure $(HOSTCONF) $(GCRYPT_CONF)
cd $< && $(MAKE) install cd $< && $(MAKE) install
touch $@ 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