diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-20 08:51:15 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-20 08:51:15 +0000 |
commit | 17c17213f167c40c4206d4babba9f5c88d7aca17 (patch) | |
tree | 18c5d6a2dca50ecf734e4cb4aa5bf7325564ff8e /package/multimedia/libmad/libmad-0.15.1b-remove-deprecated-cflags.patch | |
parent | 8a97f125abaaafe3f88056d06d29990032dd3301 (diff) | |
download | buildroot-novena-17c17213f167c40c4206d4babba9f5c88d7aca17.tar.gz buildroot-novena-17c17213f167c40c4206d4babba9f5c88d7aca17.zip |
libmad: unbreak build with gcc-4.3.x
libmad used the long deprecated -fforce-mem gcc flag, which no longer is
recognized in gcc-4.3.x. It has long been a noop, so simply remove it.
Diffstat (limited to 'package/multimedia/libmad/libmad-0.15.1b-remove-deprecated-cflags.patch')
-rw-r--r-- | package/multimedia/libmad/libmad-0.15.1b-remove-deprecated-cflags.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/multimedia/libmad/libmad-0.15.1b-remove-deprecated-cflags.patch b/package/multimedia/libmad/libmad-0.15.1b-remove-deprecated-cflags.patch new file mode 100644 index 000000000..e5040830f --- /dev/null +++ b/package/multimedia/libmad/libmad-0.15.1b-remove-deprecated-cflags.patch @@ -0,0 +1,33 @@ +libmad: remove deprecated cflags (-fforce-mem) + +fforce-mem has long been deprecated, and is completely removed from +gcc 4.3.x on. +--- + configure | 1 - + configure.ac | 1 - + 2 files changed, 2 deletions(-) + +Index: libmad-0.15.1b/configure.ac +=================================================================== +--- libmad-0.15.1b.orig/configure.ac ++++ libmad-0.15.1b/configure.ac +@@ -140,7 +140,6 @@ + case "$optimize" in + -O|"-O "*) + optimize="-O" +- optimize="$optimize -fforce-mem" + optimize="$optimize -fforce-addr" + : #x optimize="$optimize -finline-functions" + : #- optimize="$optimize -fstrength-reduce" +Index: libmad-0.15.1b/configure +=================================================================== +--- libmad-0.15.1b.orig/configure ++++ libmad-0.15.1b/configure +@@ -19099,7 +19099,6 @@ + case "$optimize" in + -O|"-O "*) + optimize="-O" +- optimize="$optimize -fforce-mem" + optimize="$optimize -fforce-addr" + : #x optimize="$optimize -finline-functions" + : #- optimize="$optimize -fstrength-reduce" |