aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 00000000000..d06b4cd197c
--- /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"
+ ;;
+