8205197: Never default to using libc++ on Linux
authormartin
Fri, 22 Jun 2018 17:36:03 -0700
changeset 50733 a1d7444076e4
parent 50732 f82821dc7aba
child 50734 0828a0f6676b
8205197: Never default to using libc++ on Linux Summary: Let the toolchain choose the standard library by default Reviewed-by: tbell, erikj, gziemski
make/autoconf/flags-ldflags.m4
--- a/make/autoconf/flags-ldflags.m4	Fri Jun 22 23:18:07 2018 +0000
+++ b/make/autoconf/flags-ldflags.m4	Fri Jun 22 17:36:03 2018 -0700
@@ -81,7 +81,7 @@
 
   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"