diff options
author | Björn Töpel <bjorn@rivosinc.com> | 2022-11-15 19:20:51 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-11-17 15:14:35 -0800 |
commit | 98b2afc8a67f651ed01fc7d5a7e2528e63dd4e08 (patch) | |
tree | 01d6f877951259ce169647523a0d3b1f860d2116 /ipc/namespace.c | |
parent | c4525f05ca3ca2795fc626252fb1c1cbb310111b (diff) | |
download | linux-98b2afc8a67f651ed01fc7d5a7e2528e63dd4e08.tar.gz linux-98b2afc8a67f651ed01fc7d5a7e2528e63dd4e08.tar.bz2 linux-98b2afc8a67f651ed01fc7d5a7e2528e63dd4e08.zip |
selftests/bpf: Pass target triple to get_sys_includes macro
When cross-compiling [1], the get_sys_includes make macro should use
the target system include path, and not the build hosts system include
path.
Make clang honor the CROSS_COMPILE triple.
[1] e.g. "ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- make"
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Link: https://lore.kernel.org/bpf/20221115182051.582962-2-bjorn@kernel.org
Diffstat (limited to 'ipc/namespace.c')
0 files changed, 0 insertions, 0 deletions