diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-03-23 15:53:06 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-05-17 00:25:02 -0400 |
commit | fb579e15c56994bc6c4cc266535024f20a81f830 (patch) | |
tree | cceee15e84d67bdbbe6eced0a4e89449a416bcc4 /hadrian/cfg | |
parent | 8dfea0789957278b99bf302dfb24078fff84b6d2 (diff) | |
download | haskell-fb579e15c56994bc6c4cc266535024f20a81f830.tar.gz |
driver: Introduce pgmcxx
Here we introduce proper support for compilation of C++ objects. This
includes:
* logic in `configure` to detect the C++ toolchain and propagating this
information into the `settings` file
* logic in the driver to use the C++ toolchain when compiling C++
sources
Diffstat (limited to 'hadrian/cfg')
-rw-r--r-- | hadrian/cfg/system.config.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hadrian/cfg/system.config.in b/hadrian/cfg/system.config.in index ae70823202..385279a435 100644 --- a/hadrian/cfg/system.config.in +++ b/hadrian/cfg/system.config.in @@ -142,6 +142,7 @@ ld-is-gnu-ld = @LdIsGNULd@ ar-args = @ArArgs@ settings-c-compiler-command = @SettingsCCompilerCommand@ +settings-cxx-compiler-command = @SettingsCxxCompilerCommand@ settings-haskell-cpp-command = @SettingsHaskellCPPCommand@ settings-haskell-cpp-flags = @SettingsHaskellCPPFlags@ settings-c-compiler-flags = @SettingsCCompilerFlags@ |