diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2001-04-30 08:18:54 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2001-04-30 08:18:54 +0000 |
commit | da910b65c2d52c634e679eb554a2851307a61afd (patch) | |
tree | da8f00f7e46f5d0f9050276259dc8e3fe60983a1 /games | |
parent | Don't hard-code -O2 and various -f optimizations in CXXFLAGS (diff) |
Don't hard-code -O9 and various other funky -f optimizations
Notes
Notes:
svn path=/head/; revision=42069
Diffstat (limited to 'games')
-rw-r--r-- | games/amphetamine/files/patch-aa | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/games/amphetamine/files/patch-aa b/games/amphetamine/files/patch-aa index 036909d4b3f7..42b7c6a08b4a 100644 --- a/games/amphetamine/files/patch-aa +++ b/games/amphetamine/files/patch-aa @@ -1,8 +1,5 @@ - -$FreeBSD$ - ---- Makefile.orig Sun Feb 27 15:45:57 2000 -+++ Makefile Mon Jan 22 23:14:32 2001 +--- Makefile.orig Sun Feb 27 05:45:57 2000 ++++ Makefile Mon Apr 30 01:16:01 2001 @@ -5,14 +5,14 @@ # User settings #=============== @@ -30,18 +27,21 @@ $FreeBSD$ # makemake variables -@@ -35,12 +35,12 @@ +@@ -34,13 +34,13 @@ + # C - CC := gcc +-CC := gcc -CFLAGS = ${DEPENDFLAGS} ++CC ?= gcc +CFLAGS += ${DEPENDFLAGS} # C++ - CXX := g++ +-CXX := g++ -CXXFLAGS = ${DEPENDFLAGS} -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -+CXXFLAGS += ${DEPENDFLAGS} -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align ++CXX ?= g++ ++CXXFLAGS += ${DEPENDFLAGS} -Wcast-align %.o : %.cpp ${CXX} ${CPPFLAGS} -c $< ${CXXFLAGS} -o $@ |