pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/codeblocks editors/codeblocks: Check for compi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b6bc1f323c60
branches: trunk
changeset: 405123:b6bc1f323c60
user: gdt <gdt%pkgsrc.org@localhost>
date: Sat Nov 23 19:39:30 2019 +0000
description:
editors/codeblocks: Check for compiling with gcc correctly
diffstat:
editors/codeblocks/hacks.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 0d09af78d447 -r b6bc1f323c60 editors/codeblocks/hacks.mk
--- a/editors/codeblocks/hacks.mk Sat Nov 23 19:37:20 2019 +0000
+++ b/editors/codeblocks/hacks.mk Sat Nov 23 19:39:30 2019 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: hacks.mk,v 1.2 2019/06/08 10:40:53 rillig Exp $
+# $NetBSD: hacks.mk,v 1.3 2019/11/23 19:39:30 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 ${PKGSRC_COMPILER} == "gcc" && \
+. if !empty(${PKGSRC_COMPILER:Mgcc}) && \
(!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*))
CONFIGURE_ARGS+= --disable-pch
. endif
Home |
Main Index |
Thread Index |
Old Index