pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/codeblocks



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sat Aug 27 20:58:41 UTC 2016

Added Files:
        pkgsrc/editors/codeblocks: hacks.mk

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/codeblocks/hacks.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/editors/codeblocks/hacks.mk
diff -u /dev/null pkgsrc/editors/codeblocks/hacks.mk:1.1
--- /dev/null   Sat Aug 27 20:58:41 2016
+++ pkgsrc/editors/codeblocks/hacks.mk  Sat Aug 27 20:58:41 2016
@@ -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