From a75a7d87ff03df37f6319c45a484b292465cc173 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 19 Jul 2023 15:52:48 -0400 Subject: [PATCH] Set ARFLAGS to -r on Alpine Linux --- GNUmakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index fd639b9b1..09243262c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -221,7 +221,11 @@ endif # We honor ARFLAGS, but the "v" option used by default causes a noisy make ifeq ($(ARFLAGS),rv) -ARFLAGS = r + ARFLAGS = r +else + ifeq ($(ARFLAGS),-rv) + ARFLAGS = -r + endif endif # Original MinGW targets Win2k by default, but lacks proper Win2k support