aboutsummaryrefslogtreecommitdiff
Copied from Debian.

From: Rodeo
Origin: https://github.com/HandBrake/HandBrake/blob/master/contrib/a52dec/A04-modern-gcc-cflags.patch

--- a52dec-0.7.4/configure.in.orig
+++ a52dec-0.7.4/configure.in
@@ -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-*)
gnu: swig: Patch for Octave 4.4....Kei Kebreau 2017-06-14gnu: swig: Fix build with Perl 5.26.0....Leo Famulari 2017-06-14gnu: swig: Update to 3.0.12....Leo Famulari 2016-11-21gnu: swig: Update to 3.0.10....Leo Famulari 2016-07-29Merge branch 'master' into core-updatesMark H Weaver 2016-07-29gnu: Use define-public to export packages....David Craven 2016-07-22Merge branch 'master' into core-updates...Leo Famulari 2016-07-21gnu: Update URLs for sourceforge.net....Leo Famulari 2016-06-13gnu: swig: Adjust to pcre output split....Ludovic Courtès 2015-06-18gnu: swig: Update to 3.0.5....Mark H Weaver 2015-02-27gnu: Remove now unneeded 'localedef' invocations....Ludovic Courtès 2015-01-06gnu: swig: Build a UTF-8 locale for the tests....Mark H Weaver 2014-11-04gnu: swig: Disable input python....Andreas Enge 2014-11-04gnu: swig: Update to 3.0.2....Andreas Enge 2014-11-04gnu: swig: Update to 2.0.12....Andreas Enge 2014-07-20gnu: Enable swig tests....John Darrington 2013-09-29gnu: Add SWIG....Ludovic Courtès