diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-07-29 09:44:02 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2016-08-01 07:27:01 +0000 |
commit | 5d34676fdc922871a5f1097c545bd3d411b96941 (patch) | |
tree | b483cada9f44c22e187c56e3c879d2512b55a720 /qbs | |
parent | f6341410106ae8541f579990997cbd6c6c2a87c0 (diff) | |
download | qt-creator-5d34676fdc922871a5f1097c545bd3d411b96941.tar.gz |
qbs build: Remove "-s" from linker flags
It is unclear why this was added, the qmake build does not have it
either, and it breaks linking on some versions of macOS.
Change-Id: I878273e072808416a12cf5c973f2ceacde549f74
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'qbs')
-rw-r--r-- | qbs/imports/QtcProduct.qbs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/qbs/imports/QtcProduct.qbs b/qbs/imports/QtcProduct.qbs index fee3782c8c..bb6828e97a 100644 --- a/qbs/imports/QtcProduct.qbs +++ b/qbs/imports/QtcProduct.qbs @@ -21,12 +21,6 @@ Product { cpp.cxxLanguageVersion: "c++11" cpp.defines: qtc.generalDefines - cpp.linkerFlags: { - var flags = []; - if (qbs.buildVariant == "release" && (qbs.toolchain.contains("gcc") || qbs.toolchain.contains("mingw"))) - flags.push("-Wl,-s"); - return flags; - } cpp.minimumOsxVersion: "10.7" cpp.minimumWindowsVersion: qbs.architecture === "x86" ? "5.1" : "5.2" cpp.useCxxPrecompiledHeader: useNonGuiPchFile || useGuiPchFile |