qt5base-lts/mkspecs/features
Tor Arne Vestbø 4c980d2e9b 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>
2014-01-28 02:33:40 +01:00
..
android REG: Fix make install on library projects on Android 2014-01-15 16:08:57 +01:00
data CMake: Ensure that the EXECUTABLE_COMPILE_FLAGS list exists 2013-10-24 20:20:59 +02:00
mac Explicitly use libstdc++ for non-C++11 static builds 2014-01-28 02:33:40 +01:00
qpa Hide Harfbuzz from the outer world 2013-03-13 14:46:26 +01:00
unix don't load wayland-scanner for all projects on linux 2013-10-22 12:15:57 +02:00
win32 Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
winrt WinRT: Provide qmake feature for generating a package manifest 2014-01-24 08:19:00 +01:00
build_pass.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
c++11.prf Enable C++11 on OSX when using Clang 2013-04-05 14:23:23 +02:00
cmake_functions.prf Remove leading '/' from target paths. 2013-11-27 08:24:50 +01:00
configure.prf Make console a no-op for WinRT 2013-11-14 18:53:48 +01:00
create_cmake.prf Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
ctest_testcase_common.prf Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
ctest_testcase_installed.prf Only run the cmake test in the install location if not already done. 2013-07-15 21:56:51 +02:00
ctest_testcase.prf Always use forward slashes in paths passed to cmake. 2013-07-10 13:05:01 +02:00
dbusadaptors.prf de-duplicate dbusadaptors.prf vs. dbusinterfaces.prf 2012-08-04 00:52:38 +02:00
dbuscommon.pri dbuscommon.pri: Fix source file dependency 2013-10-30 14:50:02 +01:00
dbusinterfaces.prf de-duplicate dbusadaptors.prf vs. dbusinterfaces.prf 2012-08-04 00:52:38 +02:00
declarative_debug.prf Rename quick1_debug back to declarative_debug 2012-10-04 03:03:00 +02:00
default_post.prf Move no-pch extra compiler to common features 2014-01-08 15:47:28 +01:00
default_pre.prf remove some unnecessary CONFIG additions 2012-12-17 14:08:17 +01:00
designer_defines.prf dispose of library-bound feature files 2012-06-19 16:39:52 +02:00
device_config.prf add some docu about the project loading sequence 2012-12-13 09:10:45 +01:00
egl.prf use pkg-config supplied CFLAGS when building with EGL 2013-10-16 17:10:15 +02:00
exceptions_off.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
exceptions.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
exclusive_builds_post.prf Rewrite qmake's exclusive-build feature 2013-10-25 20:50:51 +02:00
exclusive_builds.prf Rewrite qmake's exclusive-build feature 2013-10-25 20:50:51 +02:00
gcov.prf Integrate gcov support into Qt build system. 2013-08-07 13:38:07 +02:00
include_source_dir.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
incredibuild_xge.prf remove pointless conditionals+branches 2012-09-19 19:54:44 +02:00
java.prf Android: Build against new build tools revisions 2013-10-04 14:46:16 +02:00
lex.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
link_pkgconfig.prf make the pkg-config error message more precise 2014-01-07 19:45:15 +01:00
moc.prf Add support for using -isystem in qmake 2014-01-20 02:42:31 +01:00
no_debug_info.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
opengles1.prf Add a new qmake feature to support OpenGL ES 1 apps 2012-02-28 22:35:24 +01:00
precompile_header.prf Fix build with precompile headers 2014-01-14 10:38:29 +01:00
qfeatures.prf export QT_NO_<foo> equivalents to the build system 2013-10-31 19:49:15 +01:00
qlalr.prf introduce qlalr feature 2014-01-20 09:26:54 +01:00
qml1_module.prf mark a bunch of features as internal 2012-12-12 21:48:02 +01:00
qml1_plugin.prf mark a bunch of features as internal 2012-12-12 21:48:02 +01:00
qml_debug.prf Rename the 'declarative debug support' to 'qml debug support' 2012-03-31 16:33:04 +02:00
qml_module.prf broaden the effect of CONFIG+=force_independent somewhat 2013-03-15 18:02:09 +01:00
qml_plugin.prf Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
qmltestcase.prf Distinguish between 'mac' and 'macx' qmake scopes 2013-03-05 20:59:45 +01:00
qt_android_deps.prf Android: Allow modules to specify permissions/features 2013-11-07 16:37:37 +01:00
qt_app.prf Don't try to build qt_app in release against debug-only Qt builds 2013-12-21 15:28:58 +01:00
qt_build_config.prf don't install qt dlls into lib/ any more 2013-12-03 09:15:27 +01:00
qt_build_paths.prf reshuffle path setup 2013-06-10 21:12:24 +02:00
qt_common.prf Let Apple Clang 5.0 also have -Werror support 2014-01-14 23:32:21 +01:00
qt_config.prf de-duplicate QT_MODULES 2013-10-23 13:43:27 +02:00
qt_docs_targets.prf mark a bunch of features as internal 2012-12-12 21:48:02 +01:00
qt_docs.prf Merge branch 'stable' into dev 2013-07-11 16:42:01 +02:00
qt_example_installs.prf clear OBJECTIVE_SOURCES as well 2014-01-20 14:58:48 +01:00
qt_functions.prf iOS: Build simulator libraries with suffix 2013-10-30 00:34:34 +01:00
qt_headersclean.prf headersclean: process private modules correctly 2013-07-03 15:31:13 +02:00
qt_installs.prf rewrite handling of private modules 2013-10-24 20:20:59 +02:00
qt_module_headers.prf reshuffle path setup 2013-06-10 21:12:24 +02:00
qt_module_pris.prf make better use of $$MODULE_PLUGIN_TYPES 2013-10-24 20:20:59 +02:00
qt_module.prf Don't pass -mfpmath=sse to Clang < 3.4, it's not supported 2014-01-18 04:39:14 +01:00
qt_parts.prf iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00
qt_plugin.prf Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
qt_targets.prf Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qt_tool.prf rewrite handling of private modules 2013-10-24 20:20:59 +02:00
qt.prf Check for existence of QML import paths. 2013-11-14 17:44:46 +01:00
resolve_config.prf Rewrite qmake's exclusive-build feature 2013-10-25 20:50:51 +02:00
resolve_target.prf Rewrite qmake's exclusive-build feature 2013-10-25 20:50:51 +02:00
resources.prf fix rcc & uic .depend_commands 2013-06-15 21:39:34 +02:00
silent.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
simd.prf MIPS DSP build system fix and additional optimizations. 2014-01-14 18:52:14 +01:00
spec_post.prf Add osx and darwin scopes to qmake. 2013-07-11 18:26:45 +02:00
spec_pre.prf add some docu about the project loading sequence 2012-12-13 09:10:45 +01:00
testcase_targets.prf factor out testcase_targets.prf 2012-12-03 15:56:28 +01:00
testcase.prf qmake: Centralize TARGET sanitization in default_post.prf 2013-10-11 18:47:27 +02:00
testcocoon.prf fix host vs. makefile directory separator mess 2012-07-28 00:09:45 +02:00
testlib_defines.prf auto-generate module pris 2012-06-19 16:40:06 +02:00
uic.prf fix rcc & uic .depend_commands 2013-06-15 21:39:34 +02:00
use_c_linker.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
vxworks.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_off.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_on.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
wayland-scanner.prf Make wayland-scanner install generated headers 2013-12-23 21:14:34 +01:00
yacc.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00