Fix annocheck failures

Resolves: rhbz#2038913

Signed-off-by: Čestmír Kalina <ckalina@redhat.com>
This commit is contained in:
Čestmír Kalina 2022-01-18 14:08:03 +01:00
parent ea2e33ac31
commit 0f7f085098
3 changed files with 8 additions and 8 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/kabi-dw-bd56a6004d5d409d7d03c386400da3f49a8c4c03.tar.gz
/kabi-dw-9bc7003c12f15303d05e234e1fa884daeee700d4.tar.gz
/kabi-dw-543ed656d009a4fc46a5a2b6ea60e0fd760865ec.tar.gz
/kabi-dw-973fee0f575cc530347bac7f906e7967d4399735.tar.gz

View File

@ -1,6 +1,6 @@
%global forgeurl https://github.com/skozina/kabi-dw
%global commitdate 20220110
%global commit 543ed656d009a4fc46a5a2b6ea60e0fd760865ec
%global commit 973fee0f575cc530347bac7f906e7967d4399735
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%forgemeta -i
@ -31,12 +31,11 @@ later comparing the text files.
%forgesetup
%build
#CFLAGS=$RPM_OPT_FLAGS LDFLAGS=$RPM_LD_FLAGS make debug
# The following option need to be removed once fixed upstream
# https://github.com/skozina/kabi-dw/issues/17
LDFLAGS+=" -z muldefs "
LDFLAGS+=" -pie "
%ifarch x86_64
CFLAGS+=" -fcf-protection=full "
%endif
CFLAGS+=" -fPIE -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -g"
%set_build_flags
%make_build

View File

@ -1 +1 @@
SHA512 (kabi-dw-543ed656d009a4fc46a5a2b6ea60e0fd760865ec.tar.gz) = 65083a080d46f630647c1bc68f354b01ac3ce4a12a90eb57f9a2fd8c921f6920a84e74ba6686ad2c6a0a0cb46efd9a6bca486e69ad63a132dbe45f7ea5c8b7ef
SHA512 (kabi-dw-973fee0f575cc530347bac7f906e7967d4399735.tar.gz) = b62ccd892ad7c98ea9398f4f6a21a347bf064ded206843ff484a2adae8ce68428e325ae717e7fb4f50881644976c6a265d3b677cae4bdb264b88cab871bb4c37