Fix bugzilla issue 24623 followup.

Rename CppRuntime to _LLVM and _GNU
Also accept c++ for cxx in target string.
This commit is contained in:
Johan Engelen 2024-06-22 18:56:16 +02:00 committed by The Dlang Bot
parent 748bc7d8ad
commit b5130fd880
23 changed files with 77 additions and 65 deletions

View file

@ -212,9 +212,9 @@ immutable(EnvData) processEnvironment()
{
case "dmd":
case "ldc":
version (CppRuntime_libstdcpp)
version (CppRuntime_GNU)
envData.cxxCompatFlags = " -L-lstdc++ -L--no-demangle";
else version (CppRuntime_libcpp)
else version (CppRuntime_LLVM)
envData.cxxCompatFlags = " -L-lc++ -L--no-demangle";
else version (CppRuntime_Gcc)
envData.cxxCompatFlags = " -L-lstdc++ -L--no-demangle";