selftests/bpf: Use consistent build-id type for liburandom_read.so
authorArtem Savkov <asavkov@redhat.com>
Fri, 4 Nov 2022 09:40:16 +0000 (10:40 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 4 Nov 2022 22:56:32 +0000 (15:56 -0700)
commit61fc5e66f755db24d27ba37ce1ee4873def1a074
tree3be23f6259c67fcf9475067dd1c03d300543dc00
parentb3c09fdca1135167bd0682128cd51864c5aa5625
selftests/bpf: Use consistent build-id type for liburandom_read.so

lld produces "fast" style build-ids by default, which is inconsistent
with ld's "sha1" style. Explicitly specify build-id style to be "sha1"
when linking liburandom_read.so the same way it is already done for
urandom_read.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: KP Singh <kpsingh@kernel.org>
Link: https://lore.kernel.org/bpf/20221104094016.102049-1-asavkov@redhat.com
tools/testing/selftests/bpf/Makefile