branch master updated: libtool: remove OpenBSD specific performance hack for ranlib

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
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 <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.