make/autoconf/lib-std.m4
changeset 47687 fb290fd1f9d4
parent 47216 71c04702a3d5
child 49120 c04d813140dc
--- a/make/autoconf/lib-std.m4	Wed Oct 18 16:06:39 2017 +0200
+++ b/make/autoconf/lib-std.m4	Sun Oct 15 22:54:03 2017 +0200
@@ -65,8 +65,7 @@
     # If dynamic was requested, it's available since it would fail above otherwise.
     # If dynamic wasn't requested, go with static unless it isn't available.
     AC_MSG_CHECKING([how to link with libstdc++])
-    if test "x$with_stdc__lib" = xdynamic || test "x$has_static_libstdcxx" = xno \
-        || HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
+    if test "x$with_stdc__lib" = xdynamic || test "x$has_static_libstdcxx" = xno ; then
       AC_MSG_RESULT([dynamic])
     else
       LIBCXX="$LIBCXX $STATIC_STDCXX_FLAGS"