From da910b65c2d52c634e679eb554a2851307a61afd Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Mon, 30 Apr 2001 08:18:54 +0000 Subject: Don't hard-code -O9 and various other funky -f optimizations --- games/amphetamine/files/patch-aa | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'games') 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 $@ -- cgit v1.2.3