summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-gcc-compiler-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-gcc-compiler-util.cpp')
-rw-r--r--source/compiler-core/slang-gcc-compiler-util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-gcc-compiler-util.cpp b/source/compiler-core/slang-gcc-compiler-util.cpp
index e192d615e..cabb77996 100644
--- a/source/compiler-core/slang-gcc-compiler-util.cpp
+++ b/source/compiler-core/slang-gcc-compiler-util.cpp
@@ -796,7 +796,7 @@ static SlangResult _parseGCCFamilyLine(
SLANG_UNUSED(loader);
ComPtr<IDownstreamCompiler> compiler;
- if (SLANG_SUCCEEDED(createCompiler(ExecutableLocation(path, "clang"), compiler)))
+ if (SLANG_SUCCEEDED(createCompiler(ExecutableLocation(path, "clang++"), compiler)))
{
set->addCompiler(compiler);
}