automake-commit
[Top][All Lists]
Advanced

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

[automake-commit] branch master updated: ar-lib: ignore -nologo option


From: Mike Frysinger
Subject: [automake-commit] branch master updated: ar-lib: ignore -nologo option
Date: Tue, 08 Feb 2022 23:05:27 -0500

This is an automated email from the git hooks/post-receive script.

vapier pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=24a28a24e32b1195ca5fc9f2d1303bc0368fe18b

The following commit(s) were added to refs/heads/master by this push:
     new 24a28a24e ar-lib: ignore -nologo option
24a28a24e is described below

commit 24a28a24e32b1195ca5fc9f2d1303bc0368fe18b
Author: Mike Frysinger <vapier@gentoo.org>
AuthorDate: Mon Feb 7 23:29:13 2022 -0500

    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.
---
 lib/ar-lib | 4 ++++
 1 file changed, 4 insertions(+)

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



reply via email to

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