Skip to content

Commit

Permalink
Merge branch 'cabal-1.16'
Browse files Browse the repository at this point in the history
  • Loading branch information
bos committed Aug 29, 2012
2 parents 47f280e + 8036af8 commit 216d6c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .gitignore
Expand Up @@ -10,6 +10,13 @@ cabal-install/dist/
*.prof
*.tix

# editor temp files

*#
.#*
*~
.*.swp

# GHC build

Cabal/GNUmakefile
Expand Down
4 changes: 3 additions & 1 deletion Cabal/Distribution/Simple/Program/GHC.hs
Expand Up @@ -300,7 +300,9 @@ renderGhcOptions version@(Version ver _) opts =
----------------------------
-- Language and extensions

, [ "-X" ++ display lang | lang <- flag ghcOptLanguage ]
, if ver >= [7]
then [ "-X" ++ display lang | lang <- flag ghcOptLanguage ]
else []

, [ case lookup ext (ghcOptExtensionMap opts) of
Just arg -> arg
Expand Down

0 comments on commit 216d6c7

Please sign in to comment.