pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/codeblocks Disable PCH for GCC as it fails on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fa71a8146da
branches:  trunk
changeset: 351789:7fa71a8146da
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Aug 27 20:58:41 2016 +0000

description:
Disable PCH for GCC as it fails on LP32 platforms.

diffstat:

 editors/codeblocks/hacks.mk |  12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 1a1fbd565ebb -r 7fa71a8146da editors/codeblocks/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/codeblocks/hacks.mk       Sat Aug 27 20:58:41 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index