From: Mike Frysinger Date: Tue, 8 Feb 2022 04:29:13 +0000 (-0500) Subject: ar-lib: ignore -nologo option X-Git-Tag: v1.16i~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a28a24e32b1195ca5fc9f2d1303bc0368fe18b;p=thirdparty%2Fautomake.git ar-lib: ignore -nologo option We already invoke $AR with -NOLOGO all the time, so we can ignore the option entirely if the user specifies it. * lib/ar-lib: Ignore -NOLOGO. --- diff --git a/lib/ar-lib b/lib/ar-lib index 9dc8ef6df..54c6bdbf7 100755 --- a/lib/ar-lib +++ b/lib/ar-lib @@ -135,6 +135,10 @@ do AR="$AR $1" shift ;; + -nologo | -NOLOGO) + # We always invoke AR with -nologo, so don't need to add it again. + shift + ;; *) action=$1 shift