summaryrefslogtreecommitdiffstats
path: root/contrib/a52dec/A04-modern-gcc-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/a52dec/A04-modern-gcc-cflags.patch')
-rw-r--r--contrib/a52dec/A04-modern-gcc-cflags.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/a52dec/A04-modern-gcc-cflags.patch b/contrib/a52dec/A04-modern-gcc-cflags.patch
new file mode 100644
index 000000000..b88c5275d
--- /dev/null
+++ b/contrib/a52dec/A04-modern-gcc-cflags.patch
@@ -0,0 +1,19 @@
+--- a52dec/configure.in.bak Thu Nov 28 00:00:22 2013
++++ a52dec/configure.in Thu Nov 28 00:03:20 2013
+@@ -34,11 +34,11 @@
+ case "$host" in
+ i?86-* | k?-*)
+ case "$host" in
+- i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";;
+- i486-*) OPT_CFLAGS="$CFLAGS -mcpu=i486";;
+- i586-*) OPT_CFLAGS="$CFLAGS -mcpu=pentium";;
+- i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";;
+- k6-*) OPT_CFLAGS="$CFLAGS -mcpu=k6";;
++ i386-*) OPT_CFLAGS="$CFLAGS -mtune=i386";;
++ i486-*) OPT_CFLAGS="$CFLAGS -mtune=i486";;
++ i586-*) OPT_CFLAGS="$CFLAGS -mtune=pentium";;
++ i686-*) OPT_CFLAGS="$CFLAGS -mtune=pentiumpro";;
++ k6-*) OPT_CFLAGS="$CFLAGS -mtune=k6";;
+ esac
+ AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
+ sparc-* | sparc64-*)