changeset 51367:a1d7444076e4

8205197: Never default to using libc++ on Linux Summary: Let the toolchain choose the standard library by default Reviewed-by: tbell, erikj, gziemski
author martin
date Fri, 22 Jun 2018 17:36:03 -0700
parents f82821dc7aba
children 0828a0f6676b
files make/autoconf/flags-ldflags.m4
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"