Searched hist:"1 b71c2fb04e7a713abc6edde4a412416ff3158f2" (Results 1 – 1 of 1) sorted by relevance
/linux/ |
H A D | Makefile | diff 1b71c2fb04e7a713abc6edde4a412416ff3158f2 Thu Feb 13 15:55:17 CET 2025 Thomas Weißschuh <thomas.weissschuh@linutronix.de> 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: 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>
|