From a0019443213727994a65799e96bd887a073c262a Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Wed, 23 Sep 2020 00:20:26 +0200 Subject: [PATCH] WebAssembly: Fix the missing auto-detected "C" toolchain By not setting the toolchain language twice. Change-Id: Id7058662047f451dcc524151aa5ff7cec854b9d3 Reviewed-by: hjk --- src/plugins/webassembly/webassemblytoolchain.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/webassembly/webassemblytoolchain.cpp b/src/plugins/webassembly/webassemblytoolchain.cpp index 30c67eb0c55..8369a91675f 100644 --- a/src/plugins/webassembly/webassemblytoolchain.cpp +++ b/src/plugins/webassembly/webassemblytoolchain.cpp @@ -138,7 +138,6 @@ WebAssemblyToolChain::WebAssemblyToolChain() : const CompilerConfiguration configuration = compilerConfiguration(); const QString command = configuration.llvmRoot.toString() + Utils::HostOsInfo::withExecutableSuffix("/clang"); - setLanguage(ProjectExplorer::Constants::CXX_LANGUAGE_ID); setCompilerCommand(Utils::FilePath::fromString(command)); setSupportedAbis({toolChainAbi()}); setTargetAbi(toolChainAbi());