Revert to using -stdlib=libc++ as part of CXX under OS X

Putting it in LDFLAGS breaks compilation of plugins using shared-ld-sh script
for linking as it doesn't support this option.
This commit is contained in:
Vadim Zeitlin
2016-01-29 15:15:14 +01:00
parent 9e6af23062
commit 7aedb3f064
2 changed files with 6 additions and 8 deletions

4
configure vendored
View File

@@ -20419,9 +20419,7 @@ if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
fi
if test "$HAVE_CXX11" = "1" ; then
CXXFLAGS="$CXXFLAGS -stdlib=libc++"
OBJCXXFLAGS="$OBJCXXFLAGS -stdlib=libc++"
LDFLAGS="$LDFLAGS -stdlib=libc++"
eval "CXX=\"$CXX -stdlib=libc++\""
fi
if test "x$retest_macosx_linking" = "xyes"; then