summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-03-04 08:21:29 -0800
committerKees Cook <kees@kernel.org>2025-03-04 09:40:13 -0800
commita3aac126ca3a71b6612a817ef24db325618fd902 (patch)
tree94ffd8d2ac1c294ee0e3c28f2c183f62b6b45590 /security
parentd73ef9ec8794c4dad25774d655a8f284ad9ff641 (diff)
downloadlinux-a3aac126ca3a71b6612a817ef24db325618fd902.tar.gz
linux-a3aac126ca3a71b6612a817ef24db325618fd902.tar.bz2
linux-a3aac126ca3a71b6612a817ef24db325618fd902.zip
kbuild: clang: Support building UM with SUBARCH=i386
The UM builds distinguish i386 from x86_64 via SUBARCH, but we don't support building i386 directly with Clang. To make SUBARCH work for i386 UM, we need to explicitly test for it. This lets me run i386 KUnit tests with Clang: $ ./tools/testing/kunit/kunit.py run \ --make_options LLVM=1 \ --make_options SUBARCH=i386 ... Fixes: c7500c1b53bf ("um: Allow builds with Clang") Reviewed-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20250304162124.it.785-kees@kernel.org Tested-by: David Gow <davidgow@google.com> Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions