aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/cpp/GenericGCC.qbs
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-11-14 14:31:13 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-11-14 14:40:22 +0100
commite91f6b50957c504bd05bba20734c56eb8d6f2f23 (patch)
tree9bd7e563e8530b8db4fb7fdc90b83edfb4f252b3 /share/qbs/modules/cpp/GenericGCC.qbs
parent154b78e01ad4fdec9c68ca84b9ac0afd8d5a22e8 (diff)
parent4d97182f31e19881d8246324bc1a119b7d77e28a (diff)
Merge remote-tracking branch 'origin/1.1'
Diffstat (limited to 'share/qbs/modules/cpp/GenericGCC.qbs')
-rw-r--r--share/qbs/modules/cpp/GenericGCC.qbs6
1 files changed, 4 insertions, 2 deletions
diff --git a/share/qbs/modules/cpp/GenericGCC.qbs b/share/qbs/modules/cpp/GenericGCC.qbs
index 023708e3a..9bbb152c5 100644
--- a/share/qbs/modules/cpp/GenericGCC.qbs
+++ b/share/qbs/modules/cpp/GenericGCC.qbs
@@ -13,6 +13,7 @@ CppModule {
property string toolchainPrefix
property path toolchainInstallPath
compilerName: 'g++'
+ linkerName: "g++"
property string archiverName: 'ar'
property path sysroot: qbs.sysroot
property path platformPath
@@ -30,6 +31,7 @@ CppModule {
}
compilerPath: toolchainPathPrefix + compilerName
+ linkerPath: toolchainPathPrefix + linkerName
property path archiverPath: { return toolchainPathPrefix + archiverName }
readonly property bool shouldCreateSymlinks: {
@@ -135,7 +137,7 @@ CppModule {
args.push(libFilePath);
args = args.concat(Gcc.libraryLinkerFlags(product, inputs));
args = args.concat(Gcc.additionalCompilerAndLinkerFlags(product));
- var cmd = new Command(ModUtils.moduleProperty(product, "compilerPath"), args);
+ var cmd = new Command(ModUtils.moduleProperty(product, "linkerPath"), args);
cmd.description = 'linking ' + FileInfo.fileName(libFilePath);
cmd.highlight = 'linker';
cmd.responseFileUsagePrefix = '@';
@@ -262,7 +264,7 @@ CppModule {
args = args.concat(Gcc.libraryLinkerFlags(product, inputs));
args = args.concat(Gcc.additionalCompilerAndLinkerFlags(product));
- var cmd = new Command(ModUtils.moduleProperty(product, "compilerPath"), args);
+ var cmd = new Command(ModUtils.moduleProperty(product, "linkerPath"), args);
cmd.description = 'linking ' + FileInfo.fileName(output.fileName);
cmd.highlight = 'linker'
cmd.responseFileUsagePrefix = '@';