clang: Do not use libstdc++ when C++11 is enabled
authorBradley T. Hughes <bradley.hughes@nokia.com>
Wed, 13 Jun 2012 11:23:53 +0000 (13:23 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 18 Jun 2012 22:39:28 +0000 (00:39 +0200)
commitccf988e51087cee521b32df646de4ce3ef291de1
treea1d43e826e6a90008bce4a4987f31ad0b0e8900f
parent60f2abff5e98072fcb912d1d6070050f56f8c81b
clang: Do not use libstdc++ when C++11 is enabled

We expect that the C++ library also supports C++11 when the compiler
says it does as well. When using clang with libstdc++, the library has
no C++11 support or headers, so we cannot use, for example, #include
<initializer_lists>.

Change-Id: I844877107256f15ab314e8f82fe54434dbb07638
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
config.tests/unix/c++11/c++11.cpp