diff options
author | Jean-Philippe Brucker <[email protected]> | 2021-12-16 16:38:42 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-12-16 12:15:05 -0800 |
commit | bb7b75e860eec31aa67b83935849fdc46418c13e (patch) | |
tree | f4c67be6e61f604fbe97b9830e1f46660b08ac82 /net/unix/sysctl_net_unix.c | |
parent | bdadbb44c90aedaa74d46f1b113bd845774efa39 (diff) |
tools/runqslower: 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. Add them to CFLAGS, and erase
CROSS_COMPILE for the bpftool build, since it needs to be executed on
the host.
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