| @@ -1,12 +1,13 @@ | | | @@ -1,12 +1,13 @@ |
1 | # $NetBSD: hacks.mk,v 1.3 2015/12/14 19:50:55 joerg Exp $ | | 1 | # $NetBSD: hacks.mk,v 1.4 2016/06/02 11:41:26 bouyer Exp $ |
2 | | | 2 | |
3 | ### [Mon Dec 14 16:58:00 MET 2015 : bouyer ] | | 3 | ### [Mon Dec 14 16:58:00 MET 2015 : bouyer ] |
4 | ### g++-4.8 on NetBSD/i386 fails with an internal compiler error | | 4 | ### g++-4.8 on NetBSD/i386 fails with an internal compiler error |
5 | ### when PCH is used. Be conservative and disable on all MACHINE_ARCH | | 5 | ### when PCH is used. Be conservative and disable on all MACHINE_ARCH |
6 | ### | | 6 | ### |
7 | .if ${OPSYS} == "NetBSD" | | 7 | .if ${OPSYS} == "NetBSD" |
8 | . include "../../mk/compiler.mk" | | 8 | . include "../../mk/compiler.mk" |
9 | . if ${PKGSRC_COMPILER} == "gcc" && !empty(CC_VERSION:Mgcc-4.8.*) | | 9 | . if ${PKGSRC_COMPILER} == "gcc" && \ |
| | | 10 | (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*)) |
10 | CONFIGURE_ARGS+= --disable-precomp-headers | | 11 | CONFIGURE_ARGS+= --disable-precomp-headers |
11 | . endif | | 12 | . endif |
12 | .endif | | 13 | .endif |