Experimental fix (?) for macosx ARFLAGS.
--- a/make/autoconf/flags.m4 Mon Jun 11 11:25:51 2018 +0200
+++ b/make/autoconf/flags.m4 Fri Jun 15 14:55:09 2018 +0200
@@ -336,7 +336,11 @@
# When linking, how to specify the output
LD_OUT_OPTION='-o$(SPACE)'
# When archiving, how to specify the to be create static archive for object files.
- AR_OUT_OPTION='rcs$(SPACE)'
+ if test "x$OPENJDK_TARGET_OS" = xmacosx; then
+ AR_OUT_OPTION='-r -cs$(SPACE)'
+ else
+ AR_OUT_OPTION='-rcs$(SPACE)'
+ fi
fi
AC_SUBST(CC_OUT_OPTION)
AC_SUBST(LD_OUT_OPTION)