summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg>2016-07-02 14:48:36 +0000
committerjoerg <joerg>2016-07-02 14:48:36 +0000
commit0b221232494cb9ce5434a7b1ec7fa8814adfe28e (patch)
tree7d46816efcd3a716c255bd3b2c4a17f092740596 /games
parent0abf9a58c957d675e48fc363605d2f0eff0e2147 (diff)
downloadpkgsrc-0b221232494cb9ce5434a7b1ec7fa8814adfe28e.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