[commit: ghc] master: Tweak build.mk.sample (615268a)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/615268a17a532dc2ec3922ac33f2839ad1f6787c

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

commit 615268a17a532dc2ec3922ac33f2839ad1f6787c
Author: Ian Lynagh <[email protected]>
Date:   Thu Oct 25 21:09:50 2012 +0100

    Tweak build.mk.sample
    
    Now that we can build dyn-only, we don't need to force
    DYNAMIC_BY_DEFAULT to NO. We just set GhcLibWays appropriately.

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

 mk/build.mk.sample |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 6ac5c56..17fb9a1 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -30,8 +30,7 @@
 # A development build, working on the stage 2 compiler:
 #BuildFlavour = devel2
 
-GhcLibWays = v
-DYNAMIC_BY_DEFAULT = NO
+GhcLibWays = $(if $(filter $(DYNAMIC_BY_DEFAULT),YES),dyn,v)
 
 # Uncomment this to get prettier build output.
 # Please use V = 1 when reporting GHC bugs.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.