From 843b4bb61822eab5c3649da61c3417d0ec6caf52 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 17 Jan 2011 18:48:33 +0000 Subject: [PATCH] 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. --- utils/ghc-cabal/Main.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs index 23d04cc..9cb9928 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), -- 1.7.10.4