aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe@linaro.org>2021-12-16 16:38:40 +0000
committerAndrii Nakryiko <andrii@kernel.org>2021-12-16 12:15:05 -0800
commit4980beb4cda2bc413a3a044e1851b0daaf137bf6 (patch)
treeea2b7813ea156e16418e232ef23a098de68968e5 /net/unix/af_unix.c
parenttools/resolve_btfids: Support cross-building the kernel with clang (diff)
downloadlinux-4980beb4cda2bc413a3a044e1851b0daaf137bf6.tar.gz
linux-4980beb4cda2bc413a3a044e1851b0daaf137bf6.zip
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 <jean-philippe@linaro.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Quentin Monnet <quentin@isovalent.com> Link: https://lore.kernel.org/bpf/20211216163842.829836-4-jean-philippe@linaro.org
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions