Fix devel-usability test
- turn off --as-needed linker flag so the libsecomp library does not get flagged as not needed (in which case the linking fails) resolves: rhbz#2019887
This commit is contained in:
parent
3f26c11a41
commit
81d3550e24
@ -1,6 +1,6 @@
|
||||
Name: libseccomp
|
||||
Version: 2.5.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Enhanced seccomp library
|
||||
License: LGPLv2
|
||||
URL: https://github.com/seccomp/libseccomp
|
||||
@ -93,7 +93,8 @@ rm -f tests/36-sim-ipc_syscalls.tests tests/37-sim-ipc_syscalls_be.tests
|
||||
%{_libdir}/libseccomp.a
|
||||
|
||||
%changelog
|
||||
* Fri Nov 05 2021 Zoltan Fridrich <zfridric@redhat.com> - 2.5.2-1
|
||||
* Fri Nov 05 2021 Zoltan Fridrich <zfridric@redhat.com> - 2.5.2-2
|
||||
- fix devel-usability test
|
||||
- rebase to 2.5.2
|
||||
resolves: rhbz#2019887
|
||||
|
||||
|
@ -6,7 +6,7 @@ TEST_SOURCE=test.c
|
||||
TEST_TARGET="${TEST_SOURCE/\.c/}"
|
||||
|
||||
CXXFLAGS="$(rpm --eval '%{build_cxxflags}')"
|
||||
LDFLAGS="$(rpm --eval '%{build_ldflags}')"
|
||||
LDFLAGS="$(rpm --eval '%{build_ldflags}') -Wl,--no-as-needed"
|
||||
PKGFLAGS="$(pkg-config libseccomp --cflags --libs)"
|
||||
|
||||
# build target using distribution-specific flags
|
||||
|
Loading…
Reference in New Issue
Block a user