[commit: ghc] master: Also build the v way when DYNAMIC_GHC_PROGRAMS is YES (0374cad)

Ian Lynagh igloo at earth.li
Sun Mar 17 15:52:56 CET 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/0374cade3d2c08f78f33e1e4c0df1c6340cdea7d

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

commit 0374cade3d2c08f78f33e1e4c0df1c6340cdea7d
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sun Mar 17 13:53:42 2013 +0000

    Also build the v way when DYNAMIC_GHC_PROGRAMS is YES
    
    Technically we don't need the v way, but with -dynamic-too it's cheap,
    and having it makes life easier.

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

 mk/validate-settings.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index f6370e9..9aa824d 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -37,8 +37,10 @@ GhcStage2HcOpts += -O -dcore-lint
 GhcLibHcOpts    += -O -dcore-lint
 
 # We define DefaultFastGhcLibWays in this style so that the value is
-# correct even if the user alters DYNAMIC_GHC_PROGRAMS
-DefaultFastGhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),dyn,v)
+# correct even if the user alters DYNAMIC_GHC_PROGRAMS.
+# Technically we don't need the v way if DYNAMIC_GHC_PROGRAMS is YES,
+# but with -dynamic-too it's cheap, and makes life easier.
+DefaultFastGhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),v dyn,v)
 DefaultProfGhcLibWays = $(if $(filter $(GhcProfiled),YES),p,)
 
 ifeq "$(ValidateSpeed)" "FAST"





More information about the ghc-commits mailing list