build with hardening LDFLAGS

This commit is contained in:
Miroslav Lichvar 2018-02-26 15:04:09 +01:00
parent 5c334554d2
commit 3206c512a9

View File

@ -25,7 +25,7 @@ applications.
%setup -q %setup -q
%build %build
CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" make %{?_smp_mflags}
%install %install
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/sys} mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/sys}