]> git.pld-linux.org Git - packages/a52dec.git/commitdiff
- don't override CFLAGS with -O3 -fomit-frame-pointer -mcpu=
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 6 May 2003 08:27:35 +0000 (08:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    a52dec-opt.patch -> 1.1

a52dec-opt.patch [new file with mode: 0644]

diff --git a/a52dec-opt.patch b/a52dec-opt.patch
new file mode 100644 (file)
index 0000000..514d970
--- /dev/null
@@ -0,0 +1,34 @@
+--- a52dec-0.7.4/configure.in.orig     Sun Jul 28 03:50:20 2002
++++ a52dec-0.7.4/configure.in  Tue May  6 08:13:48 2003
+@@ -19,31 +19,8 @@
+     dnl GCC-specific flags - try to optimize them sometime
+     dnl -Wall -Werror moved to the end to not disturb the configure script
+-    dnl -O3
+-    changequote(<<,>>)
+-    OPT_CFLAGS=`echo "$CFLAGS"|sed "s/-O[0-9]*//g"`
+-    changequote([,])
+-    OPT_CFLAGS="$OPT_CFLAGS -O3"
+-    AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS])
+-
+-    dnl -fomit-frame-pointer
+-    OPT_CFLAGS="$CFLAGS -fomit-frame-pointer"
+-    AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS])
+-
+     dnl arch-specific flags
+     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";;
+-      esac
+-      AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
+-    sparc-* | sparc64-*)
+-      OPT_CFLAGS="$CFLAGS -mtune=ultrasparc"
+-      AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
+     mips-sgi-irix6.*) dnl do we need to be that specific ?
+       OPT_CFLAGS="$CFLAGS -mabi=64"
+       AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
This page took 0.050466 seconds and 4 git commands to generate.