--- old/make/autoconf/lib-std.m4 2020-07-06 21:00:48.405654660 -0400 +++ new/make/autoconf/lib-std.m4 2020-07-06 21:00:47.965639864 -0400 @@ -70,6 +70,7 @@ else LIBCXX="$LIBCXX $STATIC_STDCXX_FLAGS" JVM_LDFLAGS="$JVM_LDFLAGS $STATIC_STDCXX_FLAGS" + ADLC_LDFLAGS="$ADLC_LDFLAGS $STATIC_STDCXX_FLAGS" # Ideally, we should test stdc++ for the BUILD toolchain separately. For now # just use the same setting as for the TARGET toolchain. OPENJDK_BUILD_JVM_LDFLAGS="$OPENJDK_BUILD_JVM_LDFLAGS $STATIC_STDCXX_FLAGS"