stub: remove nondeterminism in binary
The linker embeds a timestamp into our UEFI stub. objdump -p reports: Time/Date Mon Nov 13 20:02:35 2023 With /Brepro we get the following instead: Time/Date d597e888 (This is a reproducible build file hash, not a timestamp) Fixes #260
This commit is contained in:
parent
f8d2638436
commit
8e0d422697
|
@ -1,2 +1,4 @@
|
||||||
[build]
|
[build]
|
||||||
target = "x86_64-unknown-uefi"
|
target = "x86_64-unknown-uefi"
|
||||||
|
# Strip timestamps from binaries.
|
||||||
|
rustflags = ["-C", "link-args=/Brepro"]
|
||||||
|
|
Loading…
Reference in New Issue