replace hardening build flags with _hardened_build

This commit is contained in:
Miroslav Lichvar 2014-02-19 14:43:23 +01:00
parent d676ac817c
commit 6a17fe9730

View File

@ -1,3 +1,5 @@
%global _hardened_build 1
Name: linuxptp
Version: 1.4
Release: 1%{?dist}
@ -29,8 +31,8 @@ Supporting legacy APIs and other platforms is not a goal.
%build
make %{?_smp_mflags} \
EXTRA_CFLAGS="$RPM_OPT_FLAGS -pie -fpie" \
EXTRA_LDFLAGS="-Wl,-z,relro,-z,now"
EXTRA_CFLAGS="$RPM_OPT_FLAGS" \
EXTRA_LDFLAGS="$RPM_LD_FLAGS"
%install
%makeinstall