Commit 34c7d230 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot
Browse files

Fix Hadrian's ``--configure`` (fix #17883)

parent 252e5117
......@@ -171,16 +171,17 @@ packageArgs = do
gmpPackageArgs :: Args
gmpPackageArgs = do
-- These are only used for non-in-tree builds.
librariesGmp <- getSetting GmpLibDir
includesGmp <- getSetting GmpIncludeDir
package integerGmp ? do
-- These are only used for non-in-tree builds.
librariesGmp <- getSetting GmpLibDir
includesGmp <- getSetting GmpIncludeDir
-- Windows is always built with inplace GMP until we have dynamic
-- linking working.
inTreeFlag <- getFlag GmpInTree
let inTree = inTreeFlag || windowsHost
-- Windows is always built with inplace GMP until we have dynamic
-- linking working.
inTreeFlag <- getFlag GmpInTree
let inTree = inTreeFlag || windowsHost
package integerGmp ? mconcat
mconcat
[ builder (Cabal Setup) ? mconcat
[ inTree ? arg "--configure-option=--with-intree-gmp"
, flag GmpFrameworkPref ?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment