summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Session.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Session.hs')
-rw-r--r--compiler/GHC/Driver/Session.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index 07106c7c8c..ad71ee27a0 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -4799,7 +4799,7 @@ makeDynFlagsConsistent dflags
| gopt Opt_SplitSections dflags
, platformHasSubsectionsViaSymbols (targetPlatform dflags)
- = let dflags' = gopt_unuset dflags Opt_SplitSections
+ = let dflags' = gopt_unset dflags Opt_SplitSections
warn = "-fsplit-sections is not useful on this platform " ++
"since it uses subsections-via-symbols. Ignoring."
in loop dflags' warn