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