Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'cabal-1.16'

  • Loading branch information...
commit 216d6c790d7165b84a8d20a489f000e3bb3ebe4f 2 parents 47f280e + 8036af8
@bos bos authored
Showing with 10 additions and 1 deletion.
  1. +7 −0 .gitignore
  2. +3 −1 Cabal/Distribution/Simple/Program/GHC.hs
View
7 .gitignore
@@ -10,6 +10,13 @@ cabal-install/dist/
*.prof
*.tix
+# editor temp files
+
+*#
+.#*
+*~
+.*.swp
+
# GHC build
Cabal/GNUmakefile
View
4 Cabal/Distribution/Simple/Program/GHC.hs
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.