# Institution: IT4Innovations National Supercomputing Center, Czech Republic
# Author: Jakub Kropacek
# License: GPLv3
# Year: 2022
#
# Option "-fforce-mem" has been removed in GCC 4.3.
# See https://gcc.gnu.org/gcc-4.3/changes.html
diff -Nru libmad-0.15.1b.orig/configure libmad-0.15.1b/configure
--- libmad-0.15.1b.orig/configure	2022-08-19 14:51:49.037627000 +0200
+++ libmad-0.15.1b/configure	2022-08-19 14:52:05.758321053 +0200
@@ -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"
diff -Nru libmad-0.15.1b.orig/configure.ac libmad-0.15.1b/configure.ac
--- libmad-0.15.1b.orig/configure.ac	2022-08-19 14:51:49.051732000 +0200
+++ libmad-0.15.1b/configure.ac	2022-08-19 14:52:10.953461180 +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"
