diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2014-01-27 17:27:36 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-28 02:33:40 +0100 |
commit | 4c980d2e9bc8f656179ea32fa3207d98ada59de4 (patch) | |
tree | f388efdfe973e0c895fba6ae8bb8ae16667d5462 /mkspecs/freebsd-g++/qplatformdefs.h | |
parent | a4e0f4f80a4cb6b76fe5610791fe64ffcc35fd66 (diff) |
Explicitly use libstdc++ for non-C++11 static builds
Otherwise the compiler may choose libc++ based on the deployment target,
and we'll end up with broken builds due to the mismatch between the two
libraries, eg:
Undefined symbols for architecture x86_64:
"std::ios_base::Init::Init()", referenced from:
__GLOBAL__I_a in libQt5Qml.a(qv4object.o)
...
"std::ios_base::Init::~Init()", referenced from:
__GLOBAL__I_a in libQt5Qml.a(qv4object.o)
...
"std::__throw_length_error(char const*)", referenced from:
...
This problem is not iOS specific, which is why the logic is moved
to the more generic mac/default_post.prf.
Change-Id: I28b94e614f9167fc0db84bbf1c88dd97d5629938
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'mkspecs/freebsd-g++/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions