summaryrefslogtreecommitdiff
path: root/x11/wxGTK30/hacks.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/wxGTK30/hacks.mk')
-rw-r--r--x11/wxGTK30/hacks.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/wxGTK30/hacks.mk b/x11/wxGTK30/hacks.mk
index e6dae1f9d66..f2522e6f2d9 100644
--- a/x11/wxGTK30/hacks.mk
+++ b/x11/wxGTK30/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.3 2015/12/14 19:50:55 joerg Exp $
+# $NetBSD: hacks.mk,v 1.4 2016/06/02 11:41:26 bouyer Exp $
### [Mon Dec 14 16:58:00 MET 2015 : bouyer ]
### g++-4.8 on NetBSD/i386 fails with an internal compiler error
@@ -6,7 +6,8 @@
###
.if ${OPSYS} == "NetBSD"
. include "../../mk/compiler.mk"
-. if ${PKGSRC_COMPILER} == "gcc" && !empty(CC_VERSION:Mgcc-4.8.*)
+. if ${PKGSRC_COMPILER} == "gcc" && \
+ (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*))
CONFIGURE_ARGS+= --disable-precomp-headers
. endif
.endif