diff options
author | Adam Sandberg Ericsson <adam@sandbergericsson.se> | 2021-03-09 18:14:09 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-04-07 12:37:11 -0400 |
commit | 2e3a6fba751effa2340984cb7285491306d09bd4 (patch) | |
tree | 5bf1571f82e9a06d002fc4ceebf2c22f24d5bac4 /hadrian | |
parent | 247684adc83f025d2ee329f4c98ae1f8829060b4 (diff) | |
download | haskell-2e3a6fba751effa2340984cb7285491306d09bd4.tar.gz |
hadrian: don't hardcode -fuse-ld=gold in hsc2hs wrapper #19514
Diffstat (limited to 'hadrian')
-rw-r--r-- | hadrian/src/Rules/BinaryDist.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Rules/BinaryDist.hs b/hadrian/src/Rules/BinaryDist.hs index 8a4fd2c4ec..d13b8efbfb 100644 --- a/hadrian/src/Rules/BinaryDist.hs +++ b/hadrian/src/Rules/BinaryDist.hs @@ -293,7 +293,7 @@ commonWrapper = "exec \"$executablename\" ${1+\"$@\"}\n" hsc2hsWrapper :: String hsc2hsWrapper = unlines - [ "HSC2HS_EXTRA=\"--cflag=-fno-stack-protector --lflag=-fuse-ld=gold\"" + [ "HSC2HS_EXTRA=\"--cflag=-fno-stack-protector\"" , "tflag=\"--template=$libdir/template-hsc.h\"" , "Iflag=\"-I$includedir/\"" , "for arg do" |