freebsd-ports/audio/amp/files/patch-ab
Kris Kennaway 9d58c704d6 Don't hard-code -O6 and various other -f optimizations; don't guess at
processor-specific gcc optimizations to use because CPUTYPE knows better
thesedays; don't hard-code CC.
2001-04-30 09:10:13 +00:00

29 lines
643 B
Plaintext

--- configure.orig Mon Apr 30 01:25:59 2001
+++ configure Mon Apr 30 01:25:49 2001
@@ -1380,7 +1380,6 @@
ARCH_TYPE=`uname -m`
echo "$ac_t""$ARCH_TYPE" 1>&6
-CFLAGS=
LDFLAGS=
CFLAGS_ARCH=
DEFINES=
@@ -1399,17 +1398,9 @@
;;
Linux|FreeBSD)
- CC="gcc"
- if test "$ARCH_TYPE" = "i486" ; then
- CFLAGS_ARCH="-m486"
- fi
- if test "$ARCH_TYPE" = "i586" ; then
- CFLAGS_ARCH="-i586 -pipe"
- fi
if test "$OS_TYPE" = "FreeBSD" ; then
OS_TYPE="BSD"
fi
- CFLAGS="-O6 -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}"
DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
;;