diff options
author | kris <kris@FreeBSD.org> | 2001-04-30 17:10:13 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-04-30 17:10:13 +0800 |
commit | ba41d8f2e8e364dbdfe70251a66e86cff193a60f (patch) | |
tree | 17b81c3749bc204320931ba37ac8c14e0cf89688 /audio | |
parent | 597acb2090b43de95cda366476d8ad917f6e027a (diff) | |
download | freebsd-ports-gnome-ba41d8f2e8e364dbdfe70251a66e86cff193a60f.tar.gz freebsd-ports-gnome-ba41d8f2e8e364dbdfe70251a66e86cff193a60f.tar.zst freebsd-ports-gnome-ba41d8f2e8e364dbdfe70251a66e86cff193a60f.zip |
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.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/amp/files/patch-ab | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/audio/amp/files/patch-ab b/audio/amp/files/patch-ab new file mode 100644 index 000000000000..d06b4cd197c2 --- /dev/null +++ b/audio/amp/files/patch-ab @@ -0,0 +1,28 @@ +--- 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" + ;; + |