8205197: Never default to using libc++ on Linux

Let the toolchain choose the standard library by default

Reviewed-by: tbell, erikj, gziemski
This commit is contained in:
Martin Buchholz 2018-06-22 17:36:03 -07:00
parent b9bea93101
commit 161dc40015

View File

@ -81,7 +81,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
-stdlib=libc++ -fPIC"
-fPIC"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
BASIC_LDFLAGS="-Wl,-z,defs"