diff options
| author | Masahiro Yamada <[email protected]> | 2021-04-30 01:56:27 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2021-05-01 15:43:35 +0000 |
| commit | 77a88274dc1a2cf3a775161d9a3242bc798ee680 (patch) | |
| tree | 2352fd3b320c6801235ffb8c2cd80632c4fbfa69 /scripts/gcc-plugins | |
| parent | Makefile: Move -Wno-unused-but-set-variable out of GCC only block (diff) | |
| download | kernel-77a88274dc1a2cf3a775161d9a3242bc798ee680.tar.gz kernel-77a88274dc1a2cf3a775161d9a3242bc798ee680.zip | |
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 <[email protected]>
Acked-by: Michael Ellerman <[email protected]> (powerpc)
Reviewed-by: Matthias Maennich <[email protected]>
Acked-by: Matthieu Baerts <[email protected]> (mptcp)
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
