summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal/ghc-cabal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ghc-cabal/ghc-cabal.hs')
-rw-r--r--utils/ghc-cabal/ghc-cabal.hs1
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