diff options
author | joerg <joerg@pkgsrc.org> | 2015-03-02 19:59:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-03-02 19:59:06 +0000 |
commit | 9fb05eeab8c973946609544ffbe25bf4fd6d2f74 (patch) | |
tree | 58a83ed1e78d8f3180ae8a77d03d2d8bb94c7666 /games | |
parent | 4b4f4c781f85b9d108ca3bf28379c2ed1fc2ffab (diff) | |
download | pkgsrc-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 'games')
-rw-r--r-- | games/scummvm-tools/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/games/scummvm-tools/Makefile b/games/scummvm-tools/Makefile index 9e686b683d8..998bb4e3f54 100644 --- a/games/scummvm-tools/Makefile +++ b/games/scummvm-tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2014/11/07 19:39:33 adam Exp $ +# $NetBSD: Makefile,v 1.30 2015/03/02 19:59:06 joerg Exp $ # DISTNAME= scummvm-tools-1.4.0 @@ -19,10 +19,7 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} INSTALLATION_DIRS= bin -.include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mclang) -MAKE_ENV+= CLANG_NO_OPT=-O0 -.endif +MAKE_ENV+= CLANG_NO_OPT=${CLANG_NO_VALUE_PROPAGATION_PASS:Q} .include "../../audio/flac/buildlink3.mk" .include "../../audio/libmad/buildlink3.mk" |