Commit Graph

1 Commits

Author SHA1 Message Date
John Ericson
70c2f444e3 llvmPackages.bintuils: Hack ranlib to ignore -t
Old versions of libtool for OpenBSD insist on adding the `-t` flag to
ranlib, which updates the timestamp. llvm-ranlib does not support `-t`
and as no plans to do so [1], since it makes builds less reproducable.
OpenBSD upstream deals with this by patching ranlib to ignore the `-t`
flag [2].

Instead of writing patches for all LLVM versions or re-running `autoreconf`
on all packages that use libtool, we can wrap ranlib to ignore the flag.

[1]: https://github.com/llvm/llvm-project/issues/57129
[2]: d00990cc11
2024-11-26 19:37:18 +00:00