diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2016-11-23 17:54:03 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2016-11-24 08:06:39 +0000 |
commit | 5df820e8fb170edf0fdce14a38385155f3b63cd7 (patch) | |
tree | cccacfd74861ab57121464b6b09ce33a2386a370 | |
parent | 0e304181dd94064b355c3dcbc82f557db8653a81 (diff) | |
download | qbs-5df820e8fb170edf0fdce14a38385155f3b63cd7.tar.gz |
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.js | 4 |
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; } |