Skip to content
Snippets Groups Projects

Drop duplicate -optl's from GHC invocations

Closed Ben Gamari requested to merge wip/T17385 into master

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 (closed).

Merge request reports

Merge request pipeline #11673 passed with warnings

Merge request pipeline passed with warnings for 2d12d59e

Approved by

Closed by Ben GamariBen Gamari 5 years ago (Oct 23, 2019 5:51pm UTC)

Merge details

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading