[commit: ghc] master: UNREG: fix spelling of '-split-objs' in warning (29ef714)

git at git.haskell.org git at git.haskell.org
Sun Apr 16 17:26:25 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/29ef71412af48e1bbf7739d1dbc4c4feb3b9a86a/ghc

>---------------------------------------------------------------

commit 29ef71412af48e1bbf7739d1dbc4c4feb3b9a86a
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date:   Sun Apr 16 17:56:35 2017 +0100

    UNREG: fix spelling of '-split-objs' in warning
    
    Spelling if warning message slightly mismathed passed commandline:
    
      $ ghc-stage2 -split-objs -C N.hs
      on the commandline: warning: ignoring -fsplit-objs
    
    Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>


>---------------------------------------------------------------

29ef71412af48e1bbf7739d1dbc4c4feb3b9a86a
 compiler/main/DynFlags.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 70efc54..020ee50 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -2702,7 +2702,7 @@ dynamic_flags_deps = [
   , make_ord_flag defGhcFlag "split-objs"
       (NoArg (if can_split
                 then setGeneralFlag Opt_SplitObjs
-                else addWarn "ignoring -fsplit-objs"))
+                else addWarn "ignoring -split-objs"))
 
   , make_ord_flag defGhcFlag "split-sections"
       (noArgM (\dflags -> do



More information about the ghc-commits mailing list