]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Fix building bpf selftests statically
authorYosry Ahmed <yosryahmed@google.com>
Sat, 14 May 2022 00:21:15 +0000 (00:21 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 16 May 2022 22:48:14 +0000 (15:48 -0700)
commit1602026686818cb2e3064b262796ed35033ee41b
tree8ea64d7641c37c02c71ed7256e501d149dafa2b8
parent2121c06da99000af3eea024213730e339c5b7aaf
selftests/bpf: Fix building bpf selftests statically

bpf selftests can no longer be built with CFLAGS=-static with
liburandom_read.so and its dependent target.

Filter out -static for liburandom_read.so and its dependent target.

When building statically, this leaves urandom_read relying on
system-wide shared libraries.

Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220514002115.1376033-1-yosryahmed@google.com
tools/testing/selftests/bpf/Makefile