Commit 9f2c3677 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

GMP expects the Target platform as --host parameter

parent cd6e786a
Pipeline #15776 passed with stages
in 471 minutes and 43 seconds
......@@ -10,11 +10,11 @@ configureBuilderArgs = do
stage <- getStage
libffiPath <- expr (libffiBuildPath stage)
mconcat [ builder (Configure gmpPath) ? do
hostPlatform <- getSetting HostPlatform
targetPlatform <- getSetting TargetPlatform
buildPlatform <- getSetting BuildPlatform
pure [ "--enable-shared=no"
, "--with-pic=yes"
, "--host=" ++ hostPlatform
, "--host=" ++ targetPlatform -- GMP's host is our target
, "--build=" ++ buildPlatform ]
, builder (Configure libffiPath) ? do
......
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