File php-ar-flags.patch of Package php8
Index: php-8.0.0/configure.ac
===================================================================
--- php-8.0.0.orig/configure.ac 2020-11-24 18:04:03.000000000 +0100
+++ php-8.0.0/configure.ac 2021-01-07 10:13:22.698526815 +0100
@@ -1386,7 +1386,7 @@ PHP_CONFIGURE_PART(Configuring libtool)
dnl Silence warning: `ar: 'u' modifier ignored since 'D' is the default`
dnl See https://github.com/php/php-src/pull/3017
-AC_SUBST(AR_FLAGS, [cr])
+AC_SUBST(AR_FLAGS, [Dcr])
dnl Only allow AC_PROG_CXX and AC_PROG_CXXCPP if they are explicitly called (by
dnl PHP_REQUIRE_CXX). Otherwise AC_PROG_LIBTOOL fails if there is no working C++