aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-04-30 17:10:13 +0800
committerkris <kris@FreeBSD.org>2001-04-30 17:10:13 +0800
commitba41d8f2e8e364dbdfe70251a66e86cff193a60f (patch)
tree17b81c3749bc204320931ba37ac8c14e0cf89688 /audio
parent597acb2090b43de95cda366476d8ad917f6e027a (diff)
downloadfreebsd-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-ab28
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"
+ ;;
+