projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
12f7b86
)
Follow Cabal change: Use usedExtensions rather than extensions
author
Ian Lynagh
<igloo@earth.li>
Wed, 20 Oct 2010 10:47:39 +0000
(10:47 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 20 Oct 2010 10:47:39 +0000
(10:47 +0000)
utils/ghc-cabal/ghc-cabal.hs
patch
|
blob
|
history
diff --git
a/utils/ghc-cabal/ghc-cabal.hs
b/utils/ghc-cabal/ghc-cabal.hs
index
fb1c870
..
cce40c5
100644
(file)
--- a/
utils/ghc-cabal/ghc-cabal.hs
+++ b/
utils/ghc-cabal/ghc-cabal.hs
@@
-363,7
+363,7
@@
generate config_args distdir directory
variablePrefix ++ "_HC_OPTS = " ++ escape (unwords
( programDefaultArgs ghcProg
++ hcOptions GHC bi
- ++ extensionsToFlags (compiler lbi) (extensions bi)
+ ++ extensionsToFlags (compiler lbi) (usedExtensions bi)
++ programOverrideArgs ghcProg)),
variablePrefix ++ "_CC_OPTS = " ++ unwords (ccOptions bi),
variablePrefix ++ "_CPP_OPTS = " ++ unwords (cppOptions bi),