diff options
Diffstat (limited to 'compiler/GHC/Settings/IO.hs')
-rw-r--r-- | compiler/GHC/Settings/IO.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Settings/IO.hs b/compiler/GHC/Settings/IO.hs index 308c5447e1..136607df27 100644 --- a/compiler/GHC/Settings/IO.hs +++ b/compiler/GHC/Settings/IO.hs @@ -78,6 +78,7 @@ initSettings top_dir = do targetPlatformString <- getSetting "target platform string" myExtraGccViaCFlags <- getSetting "GCC extra via C opts" cc_prog <- getToolSetting "C compiler command" + cxx_prog <- getToolSetting "C++ compiler command" cc_args_str <- getSetting "C compiler flags" cxx_args_str <- getSetting "C++ compiler flags" gccSupportsNoPie <- getBooleanSetting "C compiler supports -no-pie" @@ -173,6 +174,7 @@ initSettings top_dir = do , toolSettings_pgm_P = (cpp_prog, cpp_args) , toolSettings_pgm_F = "" , toolSettings_pgm_c = cc_prog + , toolSettings_pgm_cxx = cxx_prog , toolSettings_pgm_a = (as_prog, as_args) , toolSettings_pgm_l = (ld_prog, ld_args) , toolSettings_pgm_lm = ld_r |