summaryrefslogtreecommitdiff
path: root/package/libmad/libmad-0.15.1b-remove-deprecated-cflags.patch
blob: e5040830f949603df15bbfe59f09032d0eb33ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"