Re: [PATCH] selftests/bpf: add LDFLAGS when building test_verifier

2021-03-31 Thread Andrii Nakryiko
On Mon, Mar 29, 2021 at 11:11 AM Jisheng Zhang wrote: > > From: Jisheng Zhang > > This is useful for cross compile process to point linker to the > correct libelf, libcap, libz path. Is this enough to make cross-compilation of selftests/bpf work? I think there was a discussion another day about

Re: [PATCH] selftests/bpf: add LDFLAGS when building test_verifier

2021-03-29 Thread Song Liu
On Mon, Mar 29, 2021 at 11:13 AM Jisheng Zhang wrote: > > From: Jisheng Zhang > > This is useful for cross compile process to point linker to the > correct libelf, libcap, libz path. LGTM: Acked-by: Song Liu btw: Do we also need LDFLAGS for some other binaries, like test_cpp, TRUNNER_BINARY,

[PATCH] selftests/bpf: add LDFLAGS when building test_verifier

2021-03-29 Thread Jisheng Zhang
From: Jisheng Zhang This is useful for cross compile process to point linker to the correct libelf, libcap, libz path. Signed-off-by: Jisheng Zhang --- tools/testing/selftests/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/Makefile