diff options
author | Jean-Philippe Brucker <[email protected]> | 2021-12-16 16:38:41 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-12-16 12:15:05 -0800 |
commit | bdadbb44c90aedaa74d46f1b113bd845774efa39 (patch) | |
tree | bb315ff259ef430383ca3f1a1201f26f4783004e /net/unix/sysctl_net_unix.c | |
parent | 4980beb4cda2bc413a3a044e1851b0daaf137bf6 (diff) |
bpftool: 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, and adds that to CFLAGS. Remove
the cross flags for the bootstrap bpftool, and erase the CROSS_COMPILE
flag for the bootstrap libbpf.
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