Skip to content
Snippets Groups Projects
Commit f6398b57 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

Fix split-sections flag

The patch which introduced support for split-sections, 450d6bc4, contained a
cut-and-paste error such that it was controlled by the split-objs flag. Fix
this.

Fixes #5011.
parent 791086b3
No related branches found
No related tags found
No related merge requests found
......@@ -354,7 +354,7 @@ renderGhcOptions comp _platform@(Platform _arch os) opts
| flagProfAuto implInfo -> ["-fprof-auto-exported"]
| otherwise -> ["-auto"]
, [ "-split-sections" | flagBool ghcOptSplitObjs ]
, [ "-split-sections" | flagBool ghcOptSplitSections ]
, [ "-split-objs" | flagBool ghcOptSplitObjs ]
, case flagToMaybe (ghcOptHPCDir opts) of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment