aboutsummaryrefslogtreecommitdiff
path: root/audio/amp
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-04-30 09:10:13 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-04-30 09:10:13 +0000
commit9d58c704d6dfdbd37b9fb32d8fbd306345e27cee (patch)
treea81bc51aebb36740836edfb38b66fca23d44d0fb /audio/amp
parentda910b65c2d52c634e679eb554a2851307a61afd (diff)
downloadports-9d58c704d6dfdbd37b9fb32d8fbd306345e27cee.tar.gz
ports-9d58c704d6dfdbd37b9fb32d8fbd306345e27cee.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.
Notes
Notes: svn path=/head/; revision=42070
Diffstat (limited to 'audio/amp')
-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"
+ ;;
+