Commit 9d0a7c47 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/flac: added support for iOS

parent 6be7d870
......@@ -17,7 +17,7 @@ flac: flac-$(FLAC_VERSION).tar.gz .sum-flac
$(UNPACK)
$(APPLY) $(SRC)/flac/flac-win32.patch
$(APPLY) $(SRC)/flac/libFLAC-pc.patch
ifdef HAVE_MACOSX
ifdef HAVE_DARWIN_OS
cd $(UNPACK_DIR) && sed -e 's,-dynamiclib,-dynamiclib -arch $(ARCH),' -i.orig configure
endif
$(UPDATE_AUTOCONFIG)
......@@ -30,7 +30,7 @@ FLACCONF := $(HOSTCONF) \
--disable-cpplibs \
--disable-oggtest
# TODO? --enable-sse
ifdef HAVE_MACOSX
ifdef HAVE_DARWIN_OS
ifneq ($(findstring $(ARCH),i386 x86_64),)
FLACCONF += --disable-asm-optimizations
endif
......
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