[commit: ghc] master: Build system: prevent "warning: overriding commands for target..." (daa5097)

git at git.haskell.org git at git.haskell.org
Tue Jun 30 10:12:49 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/daa5097facb228307d52e5d3e789e5c81494a475/ghc

>---------------------------------------------------------------

commit daa5097facb228307d52e5d3e789e5c81494a475
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Tue Jun 30 12:00:43 2015 +0200

    Build system: prevent "warning: overriding commands for target..."
    
    This happened because the dyn way was listed twice in GhcLibWays for
    BuildFlavour=perf.


>---------------------------------------------------------------

daa5097facb228307d52e5d3e789e5c81494a475
 mk/build.mk.sample | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 1e95bdd..7969b40 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -94,6 +94,7 @@ GhcLibHcOpts    = -O2
 #BUILD_DOCBOOK_PS
 #BUILD_DOCBOOK_PDF
 
+GhcLibWays  = v
 GhcLibWays += p
 ifeq "$(PlatformSupportsSharedLibs)" "YES"
 GhcLibWays += dyn



More information about the ghc-commits mailing list