summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-07-02 14:48:36 +0000
committerjoerg <joerg@pkgsrc.org>2016-07-02 14:48:36 +0000
commitf416cc470c4648d80d951f57da52cd604702600b (patch)
treedc3de663ba45343a22c229eba1dab5b1a8ee5d09 /games
parent1891e1106e44a3e3002db5ac5e7835a1a1130e70 (diff)
downloadpkgsrc-f416cc470c4648d80d951f57da52cd604702600b.tar.gz
PCH has issues, so avoid it with GCC.
Diffstat (limited to 'games')
-rw-r--r--games/flightgear/hacks.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/flightgear/hacks.mk b/games/flightgear/hacks.mk
new file mode 100644
index 00000000000..57318f36c62
--- /dev/null
+++ b/games/flightgear/hacks.mk
@@ -0,0 +1,9 @@
+# $NetBSD: hacks.mk,v 1.1 2016/07/02 14:48:36 joerg Exp $
+
+.if ${OPSYS} == "NetBSD"
+. include "../../mk/compiler.mk"
+. if ${PKGSRC_COMPILER} == "gcc" && \
+ (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*))
+CONFIGURE_ARGS+= --disable-precomp-headers
+. endif
+.endif