diff options
author | Memphiz <memphis@machzwo.de> | 2015-12-21 10:15:47 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2016-01-06 15:52:18 +0100 |
commit | f749a79f503dc4789bedde0545cdf6d163301070 (patch) | |
tree | e02a19ab4840d36c14a99ed80ef9b5e6e1394c4a /tools | |
parent | cc7a25d955590b629095d1dc510a78f6d976ec93 (diff) |
[depends/libvorbis] - fixed compilation for arm64
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/libvorbis/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/depends/target/libvorbis/Makefile b/tools/depends/target/libvorbis/Makefile index b430ae356d..d869c89831 100644 --- a/tools/depends/target/libvorbis/Makefile +++ b/tools/depends/target/libvorbis/Makefile @@ -25,6 +25,10 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) sed -ie "s|SUBDIRS = m4 include vq lib examples test doc|SUBDIRS = m4 include lib|" "$(PLATFORM)/Makefile.in" +ifeq ($(CPU), arm64) + sed -ie "s|-force_cpusubtype_ALL||" "$(PLATFORM)/Configure" + sed -ie "s|-force_cpusubtype_ALL||" "$(PLATFORM)/Makefile.in" +endif cd $(PLATFORM); $(CONFIGURE) $(LIBDYLIB): $(PLATFORM) |