summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2016-06-02 11:41:26 +0000
committerbouyer <bouyer@pkgsrc.org>2016-06-02 11:41:26 +0000
commitb0ef786e18218916d9abf33a8dfcd901acbab5c4 (patch)
treeed6de3d2ed0d8971dce074507c572abe59a93bd6 /x11
parentbe5cb84358d8954bd9a611f2a6d22fd5e6beeb6d (diff)
downloadpkgsrc-b0ef786e18218916d9abf33a8dfcd901acbab5c4.tar.gz
Apply the --disable-precomp-headers hack to gcc 5.x too.
From John D. Baker, PR pkg/50287
Diffstat (limited to 'x11')
-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