[commit: hadrian] master: Implement the equivalent of D4955 (#648) (165f03e)

git at git.haskell.org git at git.haskell.org
Thu Jul 26 21:36:32 UTC 2018


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

On branch  : master
Link       : http://git.haskell.org/hadrian.git/commitdiff/165f03e90f5090ecbeeee1ef00c3a7338bfa306b

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

commit 165f03e90f5090ecbeeee1ef00c3a7338bfa306b
Author: Alp Mestanogullari <alpmestan at gmail.com>
Date:   Fri Jul 20 15:08:53 2018 +0200

    Implement the equivalent of D4955 (#648)
    
    * implement the equivalent of D4991 for hadrian
    
    * use stage2 instead of stage == Stage2


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

165f03e90f5090ecbeeee1ef00c3a7338bfa306b
 src/Settings/Packages.hs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/Settings/Packages.hs b/src/Settings/Packages.hs
index f1f0e61..360de3e 100644
--- a/src/Settings/Packages.hs
+++ b/src/Settings/Packages.hs
@@ -75,10 +75,11 @@ packageArgs = do
             , ghcProfiled <$> flavour ?
               notStage0 ? arg "--ghc-pkg-option=--force" ]
 
-          , builder CabalFlags ? mconcat
+         , builder CabalFlags ? mconcat
             [ ghcWithNativeCodeGen ? arg "ncg"
             , ghcWithInterpreter ? notStage0 ? arg "ghci"
-            , flag CrossCompiling ? arg "-terminfo" ]
+            , flag CrossCompiling ? arg "-terminfo"
+            , stage2 ? arg "integer-simple" ]
 
           , builder (Haddock BuildPackage) ? arg ("--optghc=-I" ++ path) ]
 



More information about the ghc-commits mailing list