summaryrefslogtreecommitdiff
path: root/editors
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 /editors
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 'editors')
-rw-r--r--editors/lyx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/lyx/Makefile b/editors/lyx/Makefile
index e0c5b754dba..70327047eea 100644
--- a/editors/lyx/Makefile
+++ b/editors/lyx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2015/01/10 18:13:22 rumko Exp $
+# $NetBSD: Makefile,v 1.45 2015/03/02 19:59:06 joerg Exp $
DISTNAME= lyx-2.1.2.2
CATEGORIES= editors
@@ -186,5 +186,7 @@ SUBST_SED.python+= -e 's,command("python -tt,command("${PYTHONBIN} -tt,'
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+CXXFLAGS+= ${CLANG_NO_VALUE_PROPAGATION_PASS}
+
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"