aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2021-01-29 13:41:42 +0100
committerMichael Brown <mcb30@ipxe.org>2021-01-29 14:55:11 +0000
commitf4fcd000a562c790398d6001f2fcf571c7a83348 (patch)
tree503d4377b72fee22cacfa9555a2c1eaae6cd859e
parent43d72d0087c4d81354abfff26d6900047f56b0e4 (diff)
downloadipxe-determinism.zip
ipxe-determinism.tar.gz
ipxe-determinism.tar.bz2
[build] Drop timestamps from .a filedeterminism
Make the contents of $(BLIB) deterministic to allow it to be subsequently used for calculating a build ID. Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/Makefile.housekeeping4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index cac6efc..1155a0e 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -1156,8 +1156,8 @@ BLIB = $(BIN)/blib.a
$(BLIB) : $(BLIB_OBJS) $(BLIB_LIST) $(MAKEDEPS)
$(Q)$(RM) $(BLIB)
$(QM)$(ECHO) " [AR] $@"
- $(Q)$(AR) r $@ $(sort $(BLIB_OBJS))
- $(Q)$(RANLIB) $@
+ $(Q)$(AR) rD $@ $(sort $(BLIB_OBJS))
+ $(Q)$(RANLIB) -D $@
blib : $(BLIB)
# Command to generate build ID. Must be unique for each $(BIN)/%.tmp,