summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@arm.com>2026-06-02 17:47:16 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-06-15 03:32:53 +0300
commit584f3b7a352586ddf9464faaedea57ac880e0e6d (patch)
tree9c1cde340bd0745a0fc65533a5730dd127b3627d /include/linux/debugobjects.h
parent55ffbe8a15b1254f44d56952fb425a10e3f15c31 (diff)
downloadlinux-584f3b7a352586ddf9464faaedea57ac880e0e6d.tar.xz
selftests/bpf: Use common CFLAGS for urandom_read
The urandom_read helper and its shared library are built with $(CLANG) directly rather than through the normal selftest $(CC) rules. The CFLAGS variable can contain specific flags only for $(CC) but might be imcompatible for $(CLANG) and those flags are not necessarily valid for the clang-only urandom_read build. Split the BPF selftest local flags into COMMON_CFLAGS and append them to CFLAGS for the normal build path. Use COMMON_CFLAGS directly for urandom_read and liburandom_read.so, while still filtering out -static as before. Signed-off-by: Leo Yan <leo.yan@arm.com> Link: https://lore.kernel.org/r/20260602-tools_build_fix_zero_init_bpf_only-v2-7-c76e5250ea1c@arm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions