diff options
author | joerg <joerg@pkgsrc.org> | 2016-08-27 20:58:41 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-08-27 20:58:41 +0000 |
commit | 9b51e709356ddf3db99d07308d72bbcf94e285ee (patch) | |
tree | c1b7bd4335f9d5d9f692fde13646deac9a7a6e8d /editors | |
parent | 7570b9be6d0ef63a36dec40416451d2b7fe46b2e (diff) | |
download | pkgsrc-9b51e709356ddf3db99d07308d72bbcf94e285ee.tar.gz |
Disable PCH for GCC as it fails on LP32 platforms.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/codeblocks/hacks.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/codeblocks/hacks.mk b/editors/codeblocks/hacks.mk new file mode 100644 index 00000000000..12b035356c8 --- /dev/null +++ b/editors/codeblocks/hacks.mk @@ -0,0 +1,12 @@ +# $NetBSD: hacks.mk,v 1.1 2016/08/27 20:58:41 joerg 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 ${PKGSRC_COMPILER} == "gcc" && \ + (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*)) +CONFIGURE_ARGS+= --disable-pch +. endif +.endif |