libtool-commit
[Top][All Lists]
Advanced

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

branch master updated: libtool: remove OpenBSD specific performance hack


From: Mike Frysinger
Subject: branch master updated: libtool: remove OpenBSD specific performance hack for ranlib
Date: Tue, 16 Jan 2024 20:56:09 -0500

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

vapier pushed a commit to branch master
in repository libtool.

The following commit(s) were added to refs/heads/master by this push:
     new 1ae386ba libtool: remove OpenBSD specific performance hack for ranlib
1ae386ba is described below

commit 1ae386ba78f499d366c3123d0737745589c5dfec
Author: Brad Smith <brad@comstyle.com>
AuthorDate: Tue Jan 16 16:30:09 2024 -0500

    libtool: remove OpenBSD specific performance hack for ranlib
    
    The -t flag was used as a performance hack for ranlib. The flag was
    supported by the GNU toolchain, but is a no-op with the LLVM toolchain.
    
    * m4/libtool.m4: Remove use of -t flag with ranlib.
---
 m4/libtool.m4 | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 4b84ce96..7ab5fe57 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1555,15 +1555,8 @@ old_postinstall_cmds='chmod 644 $oldlib'
 old_postuninstall_cmds=
 
 if test -n "$RANLIB"; then
-  case $host_os in
-  openbsd*)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
-    ;;
-  *)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
-    ;;
-  esac
   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+  old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 fi
 
 case $host_os in



reply via email to

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