pkgsrc/editors/codeblocks/hacks.mk

12 lines
419 B
Makefile

# $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