replace hardening build flags with _hardened_build
This commit is contained in:
parent
d676ac817c
commit
6a17fe9730
@ -1,3 +1,5 @@
|
|||||||
|
%global _hardened_build 1
|
||||||
|
|
||||||
Name: linuxptp
|
Name: linuxptp
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -29,8 +31,8 @@ Supporting legacy APIs and other platforms is not a goal.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} \
|
make %{?_smp_mflags} \
|
||||||
EXTRA_CFLAGS="$RPM_OPT_FLAGS -pie -fpie" \
|
EXTRA_CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
EXTRA_LDFLAGS="-Wl,-z,relro,-z,now"
|
EXTRA_LDFLAGS="$RPM_LD_FLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
Loading…
Reference in New Issue
Block a user