add fPIC to makefumpfile CFLAGS to support hardening
Beginning from f23 program hardening become the defaults for all packages. Details can be checked from below link: https://fedoraproject.org/wiki/Changes/Harden_All_Packages Adding this to makedumpfile CFLAGS, otherwise makedumpfile building will fail on koji. Signed-off-by: Baoquan He <bhe@redhat.com>
This commit is contained in:
parent
25afa6ee5f
commit
eb8034e067
@ -128,7 +128,7 @@ cp %{SOURCE21} .
|
||||
make
|
||||
%ifarch %{ix86} x86_64 ppc64 s390x ppc64le
|
||||
make -C eppic/libeppic
|
||||
make -C makedumpfile-1.5.7 LINKTYPE=dynamic USELZO=on USESNAPPY=on
|
||||
make -C makedumpfile-1.5.7 LINKTYPE=dynamic USELZO=on USESNAPPY=on LDFLAGS="-fPIC"
|
||||
make -C makedumpfile-1.5.7 LDFLAGS="-I../eppic/libeppic -L../eppic/libeppic" eppic_makedumpfile.so
|
||||
%endif
|
||||
make -C kdump-anaconda-addon/po
|
||||
|
Loading…
Reference in New Issue
Block a user