summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-03-02 19:59:06 +0000
committerjoerg <joerg@pkgsrc.org>2015-03-02 19:59:06 +0000
commit9fb05eeab8c973946609544ffbe25bf4fd6d2f74 (patch)
tree58a83ed1e78d8f3180ae8a77d03d2d8bb94c7666 /editors
parent4b4f4c781f85b9d108ca3bf28379c2ed1fc2ffab (diff)
downloadpkgsrc-9fb05eeab8c973946609544ffbe25bf4fd6d2f74.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"