diff options
| author | Ian Lynagh <igloo@earth.li> | 2011-01-17 18:48:33 +0000 | 
|---|---|---|
| committer | Ian Lynagh <igloo@earth.li> | 2011-01-17 18:48:33 +0000 | 
| commit | 843b4bb61822eab5c3649da61c3417d0ec6caf52 (patch) | |
| tree | 9ee5b207261174e9b4a53b451b58306d876f907a | |
| parent | 27934996c8eb8082fec9076a3038dd4a4d0d2b16 (diff) | |
| download | haskell-843b4bb61822eab5c3649da61c3417d0ec6caf52.tar.gz | |
ghc-cabal now adds the language flag being used
This means we get -XHaskell98 added to the list of flags, just like we
would if we were building with Cabal.
| -rw-r--r-- | utils/ghc-cabal/Main.hs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs index 23d04cc47a..9cb9928f79 100644 --- a/utils/ghc-cabal/Main.hs +++ b/utils/ghc-cabal/Main.hs @@ -365,6 +365,7 @@ generate config_args distdir directory                  variablePrefix ++ "_HC_OPTS = " ++ escape (unwords                         (   programDefaultArgs ghcProg                          ++ hcOptions GHC bi +                        ++ languageToFlags (compiler lbi) (defaultLanguage bi)                          ++ extensionsToFlags (compiler lbi) (usedExtensions bi)                          ++ programOverrideArgs ghcProg)),                  variablePrefix ++ "_CC_OPTS = " ++ unwords (ccOptions bi), | 
