gnu: python-babel: Update to 2.7.0.
[guix.git] / gnu / packages / patches / liba52-use-mtune-not-mcpu.patch
blobd78ecbbab0be54f70b00ad3d6ac3b689b8175b29
1 Copied from Debian.
3 From: Rodeo
4 Origin: https://github.com/HandBrake/HandBrake/blob/master/contrib/a52dec/A04-modern-gcc-cflags.patch
6 --- a52dec-0.7.4/configure.in.orig
7 +++ a52dec-0.7.4/configure.in
8 @@ -34,11 +34,11 @@
9 case "$host" in
10 i?86-* | k?-*)
11 case "$host" in
12 - i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";;
13 - i486-*) OPT_CFLAGS="$CFLAGS -mcpu=i486";;
14 - i586-*) OPT_CFLAGS="$CFLAGS -mcpu=pentium";;
15 - i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";;
16 - k6-*) OPT_CFLAGS="$CFLAGS -mcpu=k6";;
17 + i386-*) OPT_CFLAGS="$CFLAGS -mtune=i386";;
18 + i486-*) OPT_CFLAGS="$CFLAGS -mtune=i486";;
19 + i586-*) OPT_CFLAGS="$CFLAGS -mtune=pentium";;
20 + i686-*) OPT_CFLAGS="$CFLAGS -mtune=pentiumpro";;
21 + k6-*) OPT_CFLAGS="$CFLAGS -mtune=k6";;
22 esac
23 AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
24 sparc-* | sparc64-*)