diff options
author | Ian Lynagh <igloo@earth.li> | 2009-06-11 13:40:57 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-06-11 13:40:57 +0000 |
commit | acf18dd9725b011450ae9098a501abf0ff9e93c7 (patch) | |
tree | 54bdd4a965b2b60e08ce67183a4085901d1cc7cb /utils | |
parent | 96fff1ba94bd3a21da3fa797816bd6e82e4148ba (diff) | |
download | haskell-acf18dd9725b011450ae9098a501abf0ff9e93c7.tar.gz |
Add rules for building .cmm files in libraries
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ghc-cabal/ghc-cabal.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/ghc-cabal/ghc-cabal.hs b/utils/ghc-cabal/ghc-cabal.hs index b5463c503a..bd4efc4aa8 100644 --- a/utils/ghc-cabal/ghc-cabal.hs +++ b/utils/ghc-cabal/ghc-cabal.hs @@ -230,6 +230,7 @@ generate config_args distdir directory variablePrefix ++ "_EXTRA_LIBRARIES = " ++ unwords (extraLibs bi), variablePrefix ++ "_EXTRA_LIBDIRS = " ++ unwords (extraLibDirs bi), variablePrefix ++ "_C_SRCS = " ++ unwords (cSources bi), + variablePrefix ++ "_CMM_SRCS = $(addprefix cbits/,$(notdir $(wildcard " ++ directory ++ "/cbits/*.cmm)))", -- XXX This includes things it shouldn't, like: -- -odir dist-bootstrapping/build variablePrefix ++ "_HC_OPTS = " ++ escape (unwords |