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