aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <[email protected]>2021-03-02 22:12:11 +0000
committerMasahiro Yamada <[email protected]>2021-03-09 19:18:28 +0000
commit1f09af062556f0610c08e2f3d680a8b8bc40dd48 (patch)
tree3d62ac5f1fb86de3fe48feb93b269d3b4421e8a1 /scripts/gcc-plugins
parentkbuild: dummy-tools: fix inverted tests for gcc (diff)
downloadkernel-1f09af062556f0610c08e2f3d680a8b8bc40dd48.tar.gz
kernel-1f09af062556f0610c08e2f3d680a8b8bc40dd48.zip
kbuild: Fix ld-version.sh script if LLD was built with LLD_VENDOR
If LLD was built with -DLLD_VENDOR="xyz", ld.lld --version output will prefix LLD_VENDOR. Since LLD_VENDOR can contain spaces, the LLD identifier isn't guaranteed to be $2 either. Adjust the version checker to handle such versions of lld. Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Bernhard Rosenkränzer <[email protected]> [masahiro yamada: refactor the code] Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Tested-by: Nathan Chancellor <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions