diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2016-11-24 10:31:47 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2016-11-24 09:51:43 +0000 |
commit | 3c66ee1ebd49ef6fe828de4af74c9c3a80512340 (patch) | |
tree | 2f1a30c8a2dc079faf9ede67dec308b255ba45fe | |
parent | d94ba7080d32050d7c5d12d9cf03ecb7b9b7ff46 (diff) |
Cpp module: Don't set the C++ standard library explicitly
At the time this code was introduced, we observed problems on Linux when
using clang to build C++11 code against libstdc++. I am no longer able
to reproduce that problem on any distribution, so let's go back to using
the platform default.
Change-Id: If477b47c674696a0973a16924c2c0d5e91d6c1ea
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | share/qbs/modules/cpp/GenericGCC.qbs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/share/qbs/modules/cpp/GenericGCC.qbs b/share/qbs/modules/cpp/GenericGCC.qbs index 35a9c58c1..edf1a3fbe 100644 --- a/share/qbs/modules/cpp/GenericGCC.qbs +++ b/share/qbs/modules/cpp/GenericGCC.qbs @@ -43,12 +43,6 @@ import 'gcc.js' as Gcc CppModule { condition: false - cxxStandardLibrary: { - if (cxxLanguageVersion && qbs.toolchain.contains("clang")) { - return cxxLanguageVersion !== "c++98" ? "libc++" : "libstdc++"; - } - } - Probes.GccProbe { id: gccProbe compilerFilePath: compilerPath |