]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Build urandom_read with LDFLAGS and LDLIBS
authorDaniel Díaz <daniel.diaz@linaro.org>
Wed, 22 Jan 2020 16:44:24 +0000 (17:44 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 22 Jan 2020 16:45:29 +0000 (17:45 +0100)
commit7b8ce2155da30d12e3cd846bd16dc8b40626aa37
tree9638f0320392eed40c2588f4bd92846ef0816e8b
parentcd14ac745218f1b14e2a60e85f5e561b5800eca0
selftests/bpf: Build urandom_read with LDFLAGS and LDLIBS

During cross-compilation, it was discovered that LDFLAGS and
LDLIBS were not being used while building binaries, leading
to defaults which were not necessarily correct.

OpenEmbedded reported this kind of problem:

  ERROR: QA Issue: No GNU_HASH in the ELF binary [...], didn't pass LDFLAGS?

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
tools/testing/selftests/bpf/Makefile