Blame patches/libmad-0.15.1b_pre.local.patch

68c340
diff -ru libmad-0.15.1b.orig/configure libmad-0.15.1b/configure
68c340
--- libmad-0.15.1b.orig/configure	2004-02-05 10:34:07.000000000 +0100
68c340
+++ libmad-0.15.1b/configure	2021-03-26 16:20:59.999840447 +0100
68c340
@@ -19064,7 +19064,7 @@
68c340
 	    shift
68c340
 	    ;;
68c340
 	-O2)
68c340
-	    optimize="-O"
68c340
+	    optimize="-O2"
68c340
 	    shift
68c340
 	    ;;
68c340
 	-fomit-frame-pointer)
68c340
@@ -19081,74 +19081,6 @@
68c340
     esac
68c340
 done
68c340
 
68c340
-if test "$GCC" = yes
68c340
-then
68c340
-    if test -z "$arch"
68c340
-    then
68c340
-	case "$host" in
68c340
-	    i386-*)           ;;
68c340
-	    i?86-*)           arch="-march=i486" ;;
68c340
-	    arm*-empeg-*)     arch="-march=armv4 -mtune=strongarm1100" ;;
68c340
-	    armv4*-*)         arch="-march=armv4 -mtune=strongarm" ;;
68c340
-	    powerpc-*)        ;;
68c340
-	    mips*-agenda-*)   arch="-mcpu=vr4100" ;;
68c340
-	    mips*-luxsonor-*) arch="-mips1 -mcpu=r3000 -Wa,-m4010" ;;
68c340
-	esac
68c340
-    fi
68c340
-
68c340
-    case "$optimize" in
68c340
-	-O|"-O "*)
68c340
-	    optimize="-O"
68c340
-	    optimize="$optimize -fforce-mem"
68c340
-	    optimize="$optimize -fforce-addr"
68c340
-	    : #x optimize="$optimize -finline-functions"
68c340
-	    : #- optimize="$optimize -fstrength-reduce"
68c340
-	    optimize="$optimize -fthread-jumps"
68c340
-	    optimize="$optimize -fcse-follow-jumps"
68c340
-	    optimize="$optimize -fcse-skip-blocks"
68c340
-	    : #x optimize="$optimize -frerun-cse-after-loop"
68c340
-	    : #x optimize="$optimize -frerun-loop-opt"
68c340
-	    : #x optimize="$optimize -fgcse"
68c340
-	    optimize="$optimize -fexpensive-optimizations"
68c340
-	    optimize="$optimize -fregmove"
68c340
-	    : #* optimize="$optimize -fdelayed-branch"
68c340
-	    : #x optimize="$optimize -fschedule-insns"
68c340
-	    optimize="$optimize -fschedule-insns2"
68c340
-	    : #? optimize="$optimize -ffunction-sections"
68c340
-	    : #? optimize="$optimize -fcaller-saves"
68c340
-	    : #> optimize="$optimize -funroll-loops"
68c340
-	    : #> optimize="$optimize -funroll-all-loops"
68c340
-	    : #x optimize="$optimize -fmove-all-movables"
68c340
-	    : #x optimize="$optimize -freduce-all-givs"
68c340
-	    : #? optimize="$optimize -fstrict-aliasing"
68c340
-	    : #* optimize="$optimize -fstructure-noalias"
68c340
-
68c340
-	    case "$host" in
68c340
-		arm*-*)
68c340
-		    optimize="$optimize -fstrength-reduce"
68c340
-		    ;;
68c340
-		mips*-*)
68c340
-		    optimize="$optimize -fstrength-reduce"
68c340
-		    optimize="$optimize -finline-functions"
68c340
-		    ;;
68c340
-		i?86-*)
68c340
-		    optimize="$optimize -fstrength-reduce"
68c340
-		    ;;
68c340
-		powerpc-apple-*)
68c340
-		    # this triggers an internal compiler error with gcc2
68c340
-		    : #optimize="$optimize -fstrength-reduce"
68c340
-
68c340
-		    # this is really only beneficial with gcc3
68c340
-		    : #optimize="$optimize -finline-functions"
68c340
-		    ;;
68c340
-		*)
68c340
-		    # this sometimes provokes bugs in gcc 2.95.2
68c340
-		    : #optimize="$optimize -fstrength-reduce"
68c340
-		    ;;
68c340
-	    esac
68c340
-	    ;;
68c340
-    esac
68c340
-fi
68c340
 
68c340
 case "$host" in
68c340
     mips*-agenda-*)
68c340
Only in libmad-0.15.1b.orig/: libmad-0.15.1b