diff options
author | joerg <joerg> | 2016-08-27 20:58:41 +0000 |
---|---|---|
committer | joerg <joerg> | 2016-08-27 20:58:41 +0000 |
commit | 1a58bfc94534fd6dca833e01c5ca605ebb036075 (patch) | |
tree | 1260db8cb5b6c3b75f1a1eea09b9b31184aef10d /editors | |
parent | 655f477bd5590f82e94c72e674f052e3e379c9f3 (diff) | |
download | pkgsrc-1a58bfc94534fd6dca833e01c5ca605ebb036075.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 |