| @@ -1,12 +1,12 @@ | | | @@ -1,12 +1,12 @@ |
1 | # $NetBSD: hacks.mk,v 1.3 2019/11/23 19:39:30 gdt Exp $ | | 1 | # $NetBSD: hacks.mk,v 1.4 2019/11/24 14:04:16 gdt Exp $ |
2 | | | 2 | |
3 | ### g++ 4.8 and 5.3 on NetBSD/i386 fails with an internal compiler error | | 3 | ### g++ 4.8 and 5.3 on NetBSD/i386 fails with an internal compiler error |
4 | ### when PCH is used. Be conservative and disable on all MACHINE_ARCH | | 4 | ### when PCH is used. Be conservative and disable on all MACHINE_ARCH |
5 | ### | | 5 | ### |
6 | .if ${OPSYS} == "NetBSD" | | 6 | .if ${OPSYS} == "NetBSD" |
7 | . include "../../mk/compiler.mk" | | 7 | . include "../../mk/compiler.mk" |
8 | . if !empty(${PKGSRC_COMPILER:Mgcc}) && \ | | 8 | . if !empty(PKGSRC_COMPILER:Mgcc) && \ |
9 | (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*)) | | 9 | (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*)) |
10 | CONFIGURE_ARGS+= --disable-pch | | 10 | CONFIGURE_ARGS+= --disable-pch |
11 | . endif | | 11 | . endif |
12 | .endif | | 12 | .endif |