--- old/make/autoconf/lib-std.m4 2020-06-04 23:38:57.096482565 -0400 +++ new/make/autoconf/lib-std.m4 2020-06-04 23:38:56.676468307 -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"