mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 12:30:34 -09:00
package/libmad: drop GCC's "-fforce-mem" option
The commit fixes the following compilation error:
i686-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option ‘-fforce-mem’
From GCC 4.3 release notes [1]:
The -fforce-mem option has been removed because it has had no effect
in the last few GCC releases.
[1] https://gcc.gnu.org/gcc-4.3/changes.html
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
b21184a877
commit
89ba9c5a0b
18
package/libmad/0003-drop-GCC-fforce-mem-option.patch
Normal file
18
package/libmad/0003-drop-GCC-fforce-mem-option.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
configure.ac: drop GCC "-fforce-mem" option
|
||||
|
||||
As reported at [1], the option has been removed from version 4.3 of GCC.
|
||||
|
||||
[1] https://ez.analog.com/dsp/software-and-development-tools/linux-blackfin/linux-bug-archive/w/documents/7460/5626-build-lib-mad-fail-at-option--fforce-mem-with-gcc-4-3
|
||||
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
||||
Upstream: Dead
|
||||
|
||||
--- libmad-0.15.1b-orig/configure.ac 2024-07-02 14:26:40.657984791 +0200
|
||||
+++ libmad-0.15.1b/configure.ac 2024-07-02 14:27:07.098198997 +0200
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user