diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-02-22 18:03:40 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-02-27 08:01:25 -0500 |
commit | bcaa36c4277dc577863132da2f95645715e2a15e (patch) | |
tree | 87a14736dd4cbfe99951f516cb0fb6fe7556e9ef /hadrian | |
parent | 5b752b1d5cd35b2bb8d828ddc038bab1ab3036c8 (diff) | |
download | haskell-bcaa36c4277dc577863132da2f95645715e2a15e.tar.gz |
Fix Windows build with autoconf >=2.70 (#19189)
Diffstat (limited to 'hadrian')
-rw-r--r-- | hadrian/src/Settings/Builders/Cabal.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Builders/Cabal.hs b/hadrian/src/Settings/Builders/Cabal.hs index f101b44d46..5996749536 100644 --- a/hadrian/src/Settings/Builders/Cabal.hs +++ b/hadrian/src/Settings/Builders/Cabal.hs @@ -127,7 +127,7 @@ configureArgs = do , conf "--with-gmp-includes" $ arg =<< getSetting GmpIncludeDir , conf "--with-gmp-libraries" $ arg =<< getSetting GmpLibDir , conf "--with-curses-libraries" $ arg =<< getSetting CursesLibDir - , flag CrossCompiling ? (conf "--host" $ arg =<< getSetting TargetPlatformFull) + , conf "--host" $ arg =<< getSetting TargetPlatformFull , conf "--with-cc" $ arg =<< getBuilderPath . (Cc CompileC) =<< getStage , notStage0 ? (arg =<< ("--ghc-option=-ghcversion-file=" ++) <$> expr ((-/-) <$> topDirectory <*> ghcVersionH stage))] |