Skip to content

Commit

Permalink
Also support --
Browse files Browse the repository at this point in the history
… as suggested by @geekosaur
  • Loading branch information
Gabriella439 committed Oct 24, 2023
1 parent b689455 commit d8b2962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Program/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ runGHCWithResponseFile workDir fileNameTemplate encoding verbosity ghcProg comp
"+RTS" -> (True, responseFileArgs, arg : otherArgs)
"-RTS" -> (False, responseFileArgs, arg : otherArgs)
"--RTS" -> (False, args, [arg])
"--" -> (False, arg : args, [])
_
| isRTSOption -> (isRTSOption, responseFileArgs, arg : otherArgs)
| otherwise -> (isRTSOption, arg : responseFileArgs, otherArgs)
Expand Down

0 comments on commit d8b2962

Please sign in to comment.