PCH has issues, so avoid it with GCC.

This commit is contained in:
joerg 2016-07-02 14:48:36 +00:00
parent e08300d2bb
commit 5d29e33549

View file

@ -0,0 +1,9 @@
# $NetBSD: hacks.mk,v 1.1 2016/07/02 14:48:36 joerg Exp $
.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