summaryrefslogtreecommitdiff
path: root/fs/erofs
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-12 22:38:14 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-03-13 05:12:13 +0300
commitbcbcf50f521843445c9ea320a0569874f88c4b7a (patch)
tree46b1d98471589930d0547185ab5e578cd932a42b /fs/erofs
parent285a65f1a10f87088cefd6c7ea6ff26b143339b3 (diff)
downloadlinux-bcbcf50f521843445c9ea320a0569874f88c4b7a.tar.xz
kbuild: fix ld-version.sh to not be affected by locale
ld-version.sh checks the output from $(LD) --version, but it has a problem on some locales. For example, in Italian: $ LC_MESSAGES=it_IT.UTF-8 ld --version | head -n 1 ld di GNU (GNU Binutils for Debian) 2.35.2 This makes ld-version.sh fail because it expects "GNU ld" for the BFD linker case. Add LC_ALL=C to override the user's locale. BTW, setting LC_MESSAGES=C (or LANG=C) is not enough because it is ineffective if LC_ALL is set on the user's environment. Link: https://bugzilla.kernel.org/show_bug.cgi?id=212105 Reported-by: Marco Scardovi Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Recensito-da: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'fs/erofs')
0 files changed, 0 insertions, 0 deletions