[llvm] [llvm-ranlib] Change -v (alias for --version) to -V (PR #87661)
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 4 18:30:38 PDT 2024
emaste wrote:
hrm, GNU ranlib help output shows `-v` for version but accepts both `-v` and `-V`.
```
Usage: /usr/local/bin/ranlib [options] archive
Generate an index to speed access to archives
The options are:
@<file> Read options from <file>
--plugin <name> Load the specified plugin
-D Use zero for symbol map timestamp (default)
-U Use an actual symbol map timestamp
-t Update the archive's symbol map timestamp
-h --help Print this help message
-v --version Print version information
```
but given there's conflicting functionality between BSD and GNU ranlib for `-v` already I have no problem with removing the option.
As an aside I suspect that the ranlib invocations in the FreeBSD ports collection are all unnecessary and are just leftover from build systems created for much earlier toolchains, but it's a slow process to get rid of them.
https://github.com/llvm/llvm-project/pull/87661
More information about the llvm-commits
mailing list