diff options
author | Jean-Philippe Brucker <[email protected]> | 2021-12-16 16:38:40 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-12-16 12:15:05 -0800 |
commit | 4980beb4cda2bc413a3a044e1851b0daaf137bf6 (patch) | |
tree | ea2b7813ea156e16418e232ef23a098de68968e5 /net/unix/sysctl_net_unix.c | |
parent | bf1be903461a404a9d1c720b0872501ca35abc89 (diff) |
tools/libbpf: 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 the CFLAGS.
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