aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2016-11-23 17:54:03 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2016-11-24 08:06:39 +0000
commit5df820e8fb170edf0fdce14a38385155f3b63cd7 (patch)
treecccacfd74861ab57121464b6b09ce33a2386a370
parent0e304181dd94064b355c3dcbc82f557db8653a81 (diff)
GCC module: Do not add assume libc++abi with libc++ on Linux
We hardcoded the respective flag because it was observed that linking failed without it. However, this requirement seems to be a (questionable) peculiarity of one specific Linux distribution (namely ArchLinux). In general, one should not need to add the low-level ABI library. Where it is required, the user can add it to the list of libraries (possibly via a profile). Task-number: QBS-878 Change-Id: Iece8e1af566b0696419b84c82d076841e1cb9c66 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
-rw-r--r--share/qbs/modules/cpp/gcc.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/share/qbs/modules/cpp/gcc.js b/share/qbs/modules/cpp/gcc.js
index 77b57ab68..fed290b15 100644
--- a/share/qbs/modules/cpp/gcc.js
+++ b/share/qbs/modules/cpp/gcc.js
@@ -291,10 +291,6 @@ function linkerFlags(project, product, inputs, output) {
}
}
- if (product.moduleProperty("qbs", "toolchain").contains("clang")
- && product.moduleProperty("qbs", "targetOS").contains("linux") && stdlib === "libc++")
- args.push("-lc++abi");
-
return args;
}