summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-02-13 15:55:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-21 14:01:34 +0100
commit3d041fb3b6e89dcc6a348bde8ecb4bb59838bcbd (patch)
treee038b4d18084b186c07e28ecaa169da4fdc0649d /include
parentce526e1b29c70cff175e3ab8d9cb7e3f24321498 (diff)
downloadlinux-3d041fb3b6e89dcc6a348bde8ecb4bb59838bcbd.tar.gz
linux-3d041fb3b6e89dcc6a348bde8ecb4bb59838bcbd.tar.bz2
linux-3d041fb3b6e89dcc6a348bde8ecb4bb59838bcbd.zip
kbuild: userprogs: fix bitsize and target detection on clang
commit 1b71c2fb04e7a713abc6edde4a412416ff3158f2 upstream. 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: stable@vger.kernel.org Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions