diff options
author | Tamar Christina <tamar@zhox.com> | 2019-01-27 21:30:50 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-02-08 11:00:17 -0500 |
commit | bac64c3253c66f9f95a6e5476ccb6a47badc6e1c (patch) | |
tree | 8f6160e998795c62fcaada45c29ddf42769e5a3d | |
parent | 14eb23c1f123e6b8f69148a01fa8c73aee939cb7 (diff) | |
download | haskell-bac64c3253c66f9f95a6e5476ccb6a47badc6e1c.tar.gz |
Hadrian: compile libgmp static on Windows
-rw-r--r-- | hadrian/src/Settings/Packages.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs index 4be0fba740..e261dfe8ff 100644 --- a/hadrian/src/Settings/Packages.hs +++ b/hadrian/src/Settings/Packages.hs @@ -137,6 +137,9 @@ packageArgs = do , builder (Cabal Setup) ? mconcat [ flag GmpInTree ? arg "--configure-option=--with-intree-gmp" + -- Windows is always built with inplace GMP until we have dynamic + -- linking working. + , windowsHost ? arg "--configure-option=--with-intree-gmp" , flag GmpFrameworkPref ? arg "--configure-option=--with-gmp-framework-preferred" , arg ("--configure-option=CFLAGS=" ++ includeGmp) |