git: fix build with with no threads
[buildroot-gz.git] / package / libmad / 0003-remove-deprecated-cflags.patch
blobe5040830f949603df15bbfe59f09032d0eb33ae1
1 libmad: remove deprecated cflags (-fforce-mem)
3 fforce-mem has long been deprecated, and is completely removed from
4 gcc 4.3.x on.
5 ---
6 configure | 1 -
7 configure.ac | 1 -
8 2 files changed, 2 deletions(-)
10 Index: libmad-0.15.1b/configure.ac
11 ===================================================================
12 --- libmad-0.15.1b.orig/configure.ac
13 +++ libmad-0.15.1b/configure.ac
14 @@ -140,7 +140,6 @@
15 case "$optimize" in
16 -O|"-O "*)
17 optimize="-O"
18 - optimize="$optimize -fforce-mem"
19 optimize="$optimize -fforce-addr"
20 : #x optimize="$optimize -finline-functions"
21 : #- optimize="$optimize -fstrength-reduce"
22 Index: libmad-0.15.1b/configure
23 ===================================================================
24 --- libmad-0.15.1b.orig/configure
25 +++ libmad-0.15.1b/configure
26 @@ -19099,7 +19099,6 @@
27 case "$optimize" in
28 -O|"-O "*)
29 optimize="-O"
30 - optimize="$optimize -fforce-mem"
31 optimize="$optimize -fforce-addr"
32 : #x optimize="$optimize -finline-functions"
33 : #- optimize="$optimize -fstrength-reduce"