From b0ef786e18218916d9abf33a8dfcd901acbab5c4 Mon Sep 17 00:00:00 2001 From: bouyer Date: Thu, 2 Jun 2016 11:41:26 +0000 Subject: Apply the --disable-precomp-headers hack to gcc 5.x too. From John D. Baker, PR pkg/50287 --- x11/wxGTK30/hacks.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'x11') 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 -- cgit v1.2.3