diff options
| author | Thomas Weißschuh <[email protected]> | 2025-02-13 14:55:17 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2025-02-15 18:10:58 +0000 |
| commit | 1b71c2fb04e7a713abc6edde4a412416ff3158f2 (patch) | |
| tree | 6963531f6f9ab645e747c644c27e10b01eb900dc /net/switchdev/switchdev.c | |
| parent | kbuild: fix linux-headers package build when $(CC) cannot link userspace (diff) | |
| download | kernel-1b71c2fb04e7a713abc6edde4a412416ff3158f2.tar.gz kernel-1b71c2fb04e7a713abc6edde4a412416ff3158f2.zip | |
kbuild: userprogs: fix bitsize and target detection on clang
scripts/Makefile.clang was changed in the linked commit to move --target from
KBUILD_CFLAGS to KBUILD_CPPFLAGS, as that generally has a broader scope.
However that variable is not inspected by the userprogs logic,
breaking cross compilation on clang.
Use both variables to detect bitsize and target arguments for userprogs.
Fixes: feb843a469fb ("kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS")
Cc: [email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
