diff options
author | Jean-Philippe Brucker <[email protected]> | 2021-12-16 16:38:43 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-12-16 12:15:05 -0800 |
commit | ea79020a2d9eea62b12d90f0c11b7d70fcadc172 (patch) | |
tree | 66fa0a1259577b2b61e1995785b186c3193423ed /net/unix/sysctl_net_unix.c | |
parent | bb7b75e860eec31aa67b83935849fdc46418c13e (diff) |
selftests/bpf: Enable cross-building with clang
Cross building using clang requires passing the "-target" flag rather
than using the CROSS_COMPILE prefix. Makefile.include transforms
CROSS_COMPILE into CLANG_CROSS_FLAGS. Clear CROSS_COMPILE for bpftool
and the host libbpf, and use the clang flags for urandom_read and bench.
Signed-off-by: Jean-Philippe Brucker <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions