Remove explicit libc++ option, it is the default anyhow now

No supported version still use libstdc++ by default, so remove the
useless option.
This commit is contained in:
Vadim Zeitlin
2020-07-05 19:37:15 +02:00
parent 19dc182b48
commit c01747555f
2 changed files with 0 additions and 13 deletions

4
configure vendored
View File

@@ -18715,10 +18715,6 @@ if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
retest_macosx_linking=yes retest_macosx_linking=yes
fi fi
if test "$HAVE_CXX11" = "1" ; then
eval "CXX=\"$CXX -stdlib=libc++\""
fi
if test "x$retest_macosx_linking" = "xyes"; then if test "x$retest_macosx_linking" = "xyes"; then
if test "x$macosx_sdk_specified" = "xyes"; then if test "x$macosx_sdk_specified" = "xyes"; then
error_message="try using --with-macosx-sdk with a different SDK or \ error_message="try using --with-macosx-sdk with a different SDK or \

View File

@@ -1332,15 +1332,6 @@ if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
retest_macosx_linking=yes retest_macosx_linking=yes
fi fi
if test "$HAVE_CXX11" = "1" ; then
dnl We also need to use libc++ standard library instead of libstdc++ for
dnl C++11 support, both when compiling (for both C++ and Objective-C++, so
dnl putting this in just CXXFLAGS wouldn't be enough) and when linking
dnl (both libraries and plugins, using bakefile shared-ld-sh script which
dnl doesn't handle this option, so putting it in LDFLAGS wouldn't work).
eval "CXX=\"$CXX -stdlib=libc++\""
fi
dnl If either an SDK or a version option was added, make sure that we can dnl If either an SDK or a version option was added, make sure that we can
dnl still compile and link both C and C++. If we didn't do this, then most dnl still compile and link both C and C++. If we didn't do this, then most
dnl of the remaining tests would fail. dnl of the remaining tests would fail.