ar and ranlib -D

Dag-Erling Smørgrav des at des.no
Thu Apr 10 15:06:14 UTC 2014


The attached patch adds -D to ARFLAGS and introduces RANLIBFLAGS which
defaults to -D.  This ensures that all timestamps inside static
libraries in the base system are hardcoded to 0 (aka the epoch), which
is a huge step towards fully reproducible builds.  Any objections?

DES
-- 
Dag-Erling Smørgrav - des at des.no

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ar-D.diff
Type: text/x-patch
Size: 1266 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20140410/be75ef9c/attachment.bin>


More information about the freebsd-arch mailing list