diff options
author | Vagrant Cascadian <vagrant@debian.org> | 2016-06-12 06:07:07 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-24 17:23:10 -0400 |
commit | 42ffa51fd46bc6fd4bf2c244f00a80df31d01596 (patch) | |
tree | adde6f66f3b5da99927bb36156bdbe348840d994 /post/lib_powerpc/threex.c | |
parent | 1e23737df8c3887afd45b3c9842827df168d915b (diff) | |
download | talos-obmc-uboot-42ffa51fd46bc6fd4bf2c244f00a80df31d01596.tar.gz talos-obmc-uboot-42ffa51fd46bc6fd4bf2c244f00a80df31d01596.zip |
Use C locale when setting CC_VERSION_STRING and LD_VERSION_STRING.
The output reported may be locale-dependent, which results in
unreproducible builds.
$ LANG=C ld --version | head -n 1
GNU ld (GNU Binutils for Debian) 2.26
$ LANG=it_CH.UTF-8 ld --version | head -n 1
ld di GNU (GNU Binutils for Debian) 2.26
Forcing LC_ALL=C ensures the output is consistant regardless of the
build environment.
Thanks to HW42 for debugging the issue:
https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160606/005722.html
For more information about reproducible builds:
https://reproducible-builds.org/
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'post/lib_powerpc/threex.c')
0 files changed, 0 insertions, 0 deletions