kbuild: replace LANG=C with LC_ALL=C
LANG gives a weak default to each LC_* in case it is not explicitly defined. LC_ALL, if set, overrides all other LC_* variables. LANG < LC_CTYPE, LC_COLLATE, LC_MONETARY, LC_NUMERIC, ... < LC_ALL This is why documentation such as [1] suggests to set LC_ALL in build scripts to get the deterministic result. LANG=C is not strong enough to override LC_* that may be set by end users. [1]: https://reproducible-builds.org/docs/locales/ Signed-off-by:Masahiro Yamada <masahiroy@kernel.org> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Reviewed-by:
Matthias Maennich <maennich@google.com> Acked-by: Matthieu Baerts <matthieu.baerts@tessares.net> (mptcp) Reviewed-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- arch/powerpc/boot/wrapper 1 addition, 1 deletionarch/powerpc/boot/wrapper
- scripts/nsdeps 1 addition, 1 deletionscripts/nsdeps
- scripts/recordmcount.pl 1 addition, 1 deletionscripts/recordmcount.pl
- scripts/setlocalversion 1 addition, 1 deletionscripts/setlocalversion
- scripts/tags.sh 1 addition, 1 deletionscripts/tags.sh
- tools/testing/selftests/net/mptcp/mptcp_connect.sh 1 addition, 1 deletiontools/testing/selftests/net/mptcp/mptcp_connect.sh
- usr/gen_initramfs.sh 1 addition, 1 deletionusr/gen_initramfs.sh
Loading
Please register or sign in to comment