summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-09-09 17:02:15 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-18 22:27:20 -0500
commit78d4bca01c1efe481c6ce2356497593d3058fb95 (patch)
tree18896178678a62cecafb5082819e949a12cd6ad0 /utils
parent12d023d1b4706665645cc0783dd1ae67625357a3 (diff)
downloadhaskell-78d4bca01c1efe481c6ce2356497593d3058fb95.tar.gz
ghc-cabal, make: Add support for building C++ object code
Co-Authored By: Matthew Pickering <matthew@well-typed.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-cabal/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs
index 51378517fc..e6df477238 100644
--- a/utils/ghc-cabal/Main.hs
+++ b/utils/ghc-cabal/Main.hs
@@ -452,6 +452,7 @@ generate directory distdir config_args
variablePrefix ++ "_EXTRA_LIBDIRS = " ++ unwords (extraLibDirs bi),
variablePrefix ++ "_S_SRCS = " ++ unwords (asmSources bi),
variablePrefix ++ "_C_SRCS = " ++ unwords (cSources bi),
+ variablePrefix ++ "_CXX_SRCS = " ++ unwords (cxxSources bi),
variablePrefix ++ "_CMM_SRCS = " ++ unwords (cmmSources bi),
variablePrefix ++ "_DATA_FILES = " ++ unwords (dataFiles pd),
-- XXX This includes things it shouldn't, like: