summaryrefslogtreecommitdiff
path: root/lang/qore
diff options
context:
space:
mode:
authorjoerg <joerg>2015-03-02 19:59:06 +0000
committerjoerg <joerg>2015-03-02 19:59:06 +0000
commite4dfe8ce9b850e33359f8d5efdc1f9e2db601f76 (patch)
tree58a83ed1e78d8f3180ae8a77d03d2d8bb94c7666 /lang/qore
parent710efbc9903fe10e922e164a745c8c3a7c9e4abf (diff)
downloadpkgsrc-e4dfe8ce9b850e33359f8d5efdc1f9e2db601f76.tar.gz
LLVM's correlated value propagation pass is known to require a lot of
memory and CPU time for certain input. Provide a variable (CLANG_NO_VALUE_PROPAGATION_PASS) for selectively disabling it in those places known to trigger it.
Diffstat (limited to 'lang/qore')
-rw-r--r--lang/qore/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/qore/Makefile b/lang/qore/Makefile
index de1b4b49d03..e0f92f2451b 100644
--- a/lang/qore/Makefile
+++ b/lang/qore/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2015/01/16 10:23:24 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2015/03/02 19:59:07 joerg Exp $
DISTNAME= qore-0.8.11
PKGREVISION= 2
@@ -42,6 +42,9 @@ post-install:
.include "application.mk"
.include "options.mk"
+_WRAP_EXTRA_ARGS.CXX+= ${CLANG_NO_VALUE_PROPAGATION_PASS}
+CWRAPPERS_APPEND.cxx+= ${CLANG_NO_VALUE_PROPAGATION_PASS}
+
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"