mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Fix bugzilla issue 24623 followup.
Rename CppRuntime to _LLVM and _GNU Also accept c++ for cxx in target string.
This commit is contained in:
parent
748bc7d8ad
commit
b5130fd880
23 changed files with 77 additions and 65 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue