From: Brad Smith Date: Tue, 16 Jan 2024 21:30:09 +0000 (-0500) Subject: libtool: remove OpenBSD specific performance hack for ranlib X-Git-Tag: v2.5.0~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ae386ba78f499d366c3123d0737745589c5dfec;p=thirdparty%2Flibtool.git 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. --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 4b84ce966..7ab5fe575 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