1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Break out part of a multipart patch and remove '-m486' when compiling on

FreeBSD/Alpha.
This commit is contained in:
Steve Price 1999-09-20 02:15:09 +00:00
parent 1d90b4b98c
commit 11463b4b45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21805

View File

@ -0,0 +1,19 @@
--- configuration.sh.orig Thu Jun 23 07:14:46 1994
+++ configuration.sh Sat Sep 18 14:52:25 1999
@@ -72,6 +72,16 @@
INCLUDEDIRS=
LIBRARIES=
AUDIO_INCLUDES='#include <sys/audioio.h>' ;;
+ FreeBSD*)
+ COMPILER=g++
+ if [ `uname -m` = "alpha" ]; then
+ COMPILERFLAGS='-O2 -DLINUX'
+ else
+ COMPILERFLAGS='-O2 -m486 -DLINUX -DDAMN_INTEL_BYTE_ORDER'
+ fi
+ INCLUDEDIRS=
+ LIBRARIES=
+ AUDIO_INCLUDES='#include <machine/soundcard.h>' ;;
Linux*)
COMPILER=g++
COMPILERFLAGS='-O2 -m486 -funroll-loops -DLINUX -DDAMN_INTEL_BYTE_ORDER'