build setlayout with hardening LDFLAGS (#1548830)

epel9
Miroslav Lichvar 7 years ago
parent 261ce9a6da
commit bed7f45659

@ -102,7 +102,7 @@ sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtoo
sed -ie 's|^runpath_var=LD_RUN_PATH$|runpath_var=DIE_RPATH_DIE|g' libtool sed -ie 's|^runpath_var=LD_RUN_PATH$|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags} make %{?_smp_mflags}
gcc %{optflags} -o setlayout %{SOURCE1} -lX11 gcc $RPM_OPT_FLAGS $RPM_LD_FLAGS -o setlayout %{SOURCE1} -lX11
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}

Loading…
Cancel
Save