diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-10-22 00:00:20 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-23 05:59:07 -0400 |
commit | 21663693524838cf0621a887602368fcb54c1c0a (patch) | |
tree | 955b49fc68f287a20936087834390e7eb9323031 /packages | |
parent | 4af20bbc07626815eb0ec04fe665a32bb1827480 (diff) | |
download | haskell-21663693524838cf0621a887602368fcb54c1c0a.tar.gz |
Drop duplicate -optl's from GHC invocations
Previously the make build system would pass things like
`-optl-optl-Wl,-x -optl-optl-Wl,noexecstack` to GHC. This would
naturally result in mass confusion as GHC would pass `-optl-Wl,-x` to
GCC. GCC would in turn interpret this as `-o ptl-Wl,-x`, setting the
output pass of the invocation.
The problem that `-optl` was added to the command-line in two places in
the build system. Fix this.
Fixes #17385.
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions