summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-10-20 10:47:39 +0000
committerIan Lynagh <igloo@earth.li>2010-10-20 10:47:39 +0000
commit351f4d4230012eee97d38110cc800a4215de8f65 (patch)
tree275c35df92aac3866344a6338aeb21c2971c50d4 /utils/ghc-cabal
parent12f7b86504e94e3507e9e51cb27b14c049d943f8 (diff)
downloadhaskell-351f4d4230012eee97d38110cc800a4215de8f65.tar.gz
Follow Cabal change: Use usedExtensions rather than extensions
Diffstat (limited to 'utils/ghc-cabal')
-rw-r--r--utils/ghc-cabal/ghc-cabal.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-cabal/ghc-cabal.hs b/utils/ghc-cabal/ghc-cabal.hs
index fb1c870f3d..cce40c51cd 100644
--- 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),