bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30127: [PATCH] ar-lib: ignore -nologo option


From: Mike Frysinger
Subject: bug#30127: [PATCH] ar-lib: ignore -nologo option
Date: Mon, 7 Feb 2022 23:32:12 -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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/ar-lib b/lib/ar-lib
index 9dc8ef6df054..54c6bdbf7f1b 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
-- 
2.34.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]