forked from qt-creator/qt-creator
WebAssembly: Fix the missing auto-detected "C" toolchain
By not setting the toolchain language twice. Change-Id: Id7058662047f451dcc524151aa5ff7cec854b9d3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user