diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2014-07-21 14:23:09 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2014-07-21 16:40:44 +0200 |
commit | 6175c16a6d0b8b814f332536962b60fe76132a57 (patch) | |
tree | 60580d504ddc40154561c09aee2b25cf2b84a157 /src/plugins/qnx/qnxbaseconfiguration.cpp | |
parent | 04a9422b48ba442bf610c9c10fa422a79c0fce6e (diff) | |
download | qt-creator-6175c16a6d0b8b814f332536962b60fe76132a57.tar.gz |
ToolChain: Do not run compiler when setting up a toolchain
Do not rerun the compiler when setting up a new tool chain. All
the necessary data is already there, so there is no need to re-get
it.
This reduces the number of gcc runs at startup from 10 to 6 in
my settup (g++ and clang available on Linux).
Change-Id: Id02e79f52ab7a69d5edf84b711ab148d7bc43f21
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/qnx/qnxbaseconfiguration.cpp')
-rw-r--r-- | src/plugins/qnx/qnxbaseconfiguration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qnx/qnxbaseconfiguration.cpp b/src/plugins/qnx/qnxbaseconfiguration.cpp index e34f507626..b698f6be15 100644 --- a/src/plugins/qnx/qnxbaseconfiguration.cpp +++ b/src/plugins/qnx/qnxbaseconfiguration.cpp @@ -187,7 +187,7 @@ QnxToolChain *QnxBaseConfiguration::createToolChain(QnxArchitecture arch, const QString &ndkPath) { QnxToolChain *toolChain = new QnxToolChain(ProjectExplorer::ToolChain::AutoDetection); - toolChain->setCompilerCommand(m_qccCompiler); + toolChain->resetToolChain(m_qccCompiler); toolChain->setTargetAbi(Abi((arch == Qnx::ArmLeV7) ? Abi::ArmArchitecture : Abi::X86Architecture, Abi::LinuxOS, Abi::GenericLinuxFlavor, Abi::ElfFormat, 32)); toolChain->setDisplayName(displayName); |