summaryrefslogtreecommitdiff
path: root/time
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 /time
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 'time')
-rw-r--r--time/fet/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/time/fet/Makefile b/time/fet/Makefile
index f9c247b00f5..b8acd9ccaf0 100644
--- a/time/fet/Makefile
+++ b/time/fet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2015/02/21 23:35:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.7 2015/03/02 19:59:07 joerg Exp $
DISTNAME= fet-5.25.0
PKGREVISION= 1
@@ -11,6 +11,9 @@ HOMEPAGE= http://lalescu.ro/liviu/fet/
COMMENT= Automatically schedule timetables
LICENSE= gnu-gpl-v2
+.include "../../mk/bsd.prefs.mk"
+CFLAGS+= ${CLANG_NO_VALUE_PROPAGATION_PASS}
+
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= bsdtar