Skip to content
Snippets Groups Projects
Commit 34c7d230 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot
Browse files

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

parent 252e5117
No related branches found
No related tags found
No related merge requests found
......@@ -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 ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment