]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: remove OpenBSD specific performance hack for ranlib
authorBrad Smith <brad@comstyle.com>
Tue, 16 Jan 2024 21:30:09 +0000 (16:30 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 17 Jan 2024 01:52:26 +0000 (20:52 -0500)
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

index 4b84ce9664719804d0b04895e192012d35aa6e7a..7ab5fe5759f12677b6da50b5631004a666afabd7 100644 (file)
@@ -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