aboutsummaryrefslogtreecommitdiff
path: root/games/vavoom
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-11-19 14:04:39 +0000
committerSimon Barner <barner@FreeBSD.org>2005-11-19 14:04:39 +0000
commita50ad9fab154b9acf5253517888c412b55f8540f (patch)
tree14a5a117552239a6cc576b741fa0bf360c83dfb9 /games/vavoom
parentdecf7a76c8e244b57ec7cc28a0bdb8af2c79b0ab (diff)
Notes
Diffstat (limited to 'games/vavoom')
-rw-r--r--games/vavoom/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/vavoom/Makefile b/games/vavoom/Makefile
index a7778f940abb..f71db4f06cf8 100644
--- a/games/vavoom/Makefile
+++ b/games/vavoom/Makefile
@@ -47,6 +47,13 @@ SUB_LIST= "PREFIX=${PREFIX}" "PORTSDIR=${PORTSDIR}"
.include <bsd.port.pre.mk>
+# -fno-strict-aliasing (default on FreeBSD 6.0+) produces run-working
+# code for `vcc', so use a more conservative setting here
+.if (${OSVERSION} >= 600000)
+CFLAGS= -O -pipe
+CXXFLAGS= -O -pipe
+.endif
+
pre-everything::
@${ECHO_CMD} ""
.ifndef (WITH_OPENAL)