aboutsummaryrefslogtreecommitdiffstats
path: root/games/amphetamine/files
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-04-30 16:18:54 +0800
committerkris <kris@FreeBSD.org>2001-04-30 16:18:54 +0800
commit597acb2090b43de95cda366476d8ad917f6e027a (patch)
tree2f6eb05f2c2b30b8bfb1f81516e862c9eb961774 /games/amphetamine/files
parent6b138368ff5df108b70ea9145f122f43f7e25c9e (diff)
downloadfreebsd-ports-gnome-597acb2090b43de95cda366476d8ad917f6e027a.tar.gz
freebsd-ports-gnome-597acb2090b43de95cda366476d8ad917f6e027a.tar.zst
freebsd-ports-gnome-597acb2090b43de95cda366476d8ad917f6e027a.zip
Don't hard-code -O9 and various other funky -f optimizations
Diffstat (limited to 'games/amphetamine/files')
-rw-r--r--games/amphetamine/files/patch-aa18
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 $@