blob: f2522e6f2d91b3fb49c13d2041406634b47eec60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# $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
### when PCH is used. Be conservative and disable on all MACHINE_ARCH
###
.if ${OPSYS} == "NetBSD"
. include "../../mk/compiler.mk"
. if ${PKGSRC_COMPILER} == "gcc" && \
(!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*))
CONFIGURE_ARGS+= --disable-precomp-headers
. endif
.endif
|