Commit 09b142d5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: libmad: do not mess with GCC (antiquated) optimization flags

parent ac836406
diff -Nru libmad.orig//configure.ac libmad/configure.ac
--- libmad.orig//configure.ac 2011-08-02 12:39:34.000000000 +0300
+++ libmad/configure.ac 2011-08-02 12:52:11.000000000 +0300
@@ -122,7 +122,7 @@
esac
done
-if test "$GCC" = yes
+if false
then
if test -z "$arch"
then
...@@ -21,9 +21,12 @@ ifdef HAVE_MACOSX ...@@ -21,9 +21,12 @@ ifdef HAVE_MACOSX
-e 's%-dynamiclib%-dynamiclib -arch $(ARCH)%' \ -e 's%-dynamiclib%-dynamiclib -arch $(ARCH)%' \
-i.orig configure -i.orig configure
endif endif
$(APPLY) $(SRC)/mad/mad-noopt.patch
$(MOVE) $(MOVE)
.mad: libmad .mad: libmad
touch libmad/NEWS libmad/AUTHORS libmad/ChangeLog
$(RECONF)
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3 $(NOTHUMB)" ./configure $(HOSTCONF) cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3 $(NOTHUMB)" ./configure $(HOSTCONF)
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