scripts/mkcompile_h: move LC_ALL=C to '$LD -v'
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 28 Aug 2022 02:39:55 +0000 (11:39 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 28 Sep 2022 19:40:15 +0000 (04:40 +0900)
commitc7b594f53ed1c94d8bdab5e414f1fb3ef210884f
tree8fdcfe4be401c733b5c639d4d2e393514414ce69
parenta55f283e8b473a3124705934a17d0ad61e34e6c1
scripts/mkcompile_h: move LC_ALL=C to '$LD -v'

Minimize the scope of LC_ALL=C like before commit 87c94bfb8ad3 ("kbuild:
override build timestamp & version").

Give LC_ALL=C to '$LD -v' to get the consistent version output, as commit
bcbcf50f5218 ("kbuild: fix ld-version.sh to not be affected by locale")
mentioned the LD version is affected by locale.

While I was here, I merged two sed invocations.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mkcompile_h