diff options
author | joerg <joerg> | 2015-03-02 19:59:06 +0000 |
---|---|---|
committer | joerg <joerg> | 2015-03-02 19:59:06 +0000 |
commit | e4dfe8ce9b850e33359f8d5efdc1f9e2db601f76 (patch) | |
tree | 58a83ed1e78d8f3180ae8a77d03d2d8bb94c7666 /games | |
parent | 710efbc9903fe10e922e164a745c8c3a7c9e4abf (diff) | |
download | pkgsrc-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 '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" |