]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
ar-lib: ignore -nologo option
authorMike Frysinger <vapier@gentoo.org>
Tue, 8 Feb 2022 04:29:13 +0000 (23:29 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 9 Feb 2022 03:44:42 +0000 (22:44 -0500)
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.

lib/ar-lib

index 9dc8ef6df054e62e0a344540803c0ed90da43191..54c6bdbf7f1b314721a3af9996f6ed6dd7091619 100755 (executable)
@@ -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