aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-09-06 11:19:51 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-09-06 11:19:51 +0000
commit7024f1a4c3e8c2145c8acfc061b74d8dc6513c6f (patch)
treeb71a99b380f71590d80f8e159c870d2d46b81b87
parentf82cc25ff8ca3dbff368a443113c0b6ea998cbca (diff)
downloadports-7024f1a4c3e8c2145c8acfc061b74d8dc6513c6f.tar.gz
ports-7024f1a4c3e8c2145c8acfc061b74d8dc6513c6f.zip
Notes
-rw-r--r--games/cleanq3/files/patch-code-unix-Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/cleanq3/files/patch-code-unix-Makefile b/games/cleanq3/files/patch-code-unix-Makefile
index ac3078f440c1..d44232d388f2 100644
--- a/games/cleanq3/files/patch-code-unix-Makefile
+++ b/games/cleanq3/files/patch-code-unix-Makefile
@@ -61,9 +61,9 @@
-GL_CFLAGS = -I$(MESADIR)/include -I/usr/X11R6/include
+ifdef OPTIMIZED_CFLAGS
+ ifeq ($(ARCH),i386)
-+RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -fomit-frame-pointer -pipe -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce
++RELEASE_CFLAGS=$(BASE_CFLAGS) -O3 -fomit-frame-pointer -pipe -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce
+ else
-+RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
++RELEASE_CFLAGS=$(BASE_CFLAGS) -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
+ endif
+endif