diff --git a/hadrian/src/Settings/Builders/Configure.hs b/hadrian/src/Settings/Builders/Configure.hs index f60eebef37b86e5484c0021c48387491ead62331..2e4a861f375b484368699b26faf3b5c6c0e4a064 100644 --- a/hadrian/src/Settings/Builders/Configure.hs +++ b/hadrian/src/Settings/Builders/Configure.hs @@ -28,10 +28,7 @@ configureBuilderArgs = do -- more detailed explanation of this configure -- option. <> [ "--enable-alloca=malloc-notreentrant" | targetArch == "wasm32" ] - -- Enable PIC unless target is wasm32, in which - -- case we don't want libgmp.a to be bloated due - -- to PIC overhead. - <> [ "--with-pic=yes" | targetArch /= "wasm32" ] + <> [ "--with-pic=yes" ] , builder (Configure libffiPath) ? do top <- expr topDirectory