diff --git a/Cabal/src/Distribution/Simple/Program/GHC.hs b/Cabal/src/Distribution/Simple/Program/GHC.hs index f853fed7721..243cb75013c 100644 --- a/Cabal/src/Distribution/Simple/Program/GHC.hs +++ b/Cabal/src/Distribution/Simple/Program/GHC.hs @@ -684,6 +684,7 @@ runGHCWithResponseFile workDir fileNameTemplate encoding verbosity ghcProg comp case arg of "+RTS" -> (True, responseFileArgs, arg : otherArgs) "-RTS" -> (False, responseFileArgs, arg : otherArgs) + "--RTS" -> (False, args, [ arg ]) _ | isRTSOption -> (isRTSOption, responseFileArgs, arg : otherArgs) | otherwise -> (isRTSOption, arg : responseFileArgs, otherArgs)