Do hardened build.

epel9
Richard M. Shaw 9 years ago
parent be071ad7be
commit 1eff159177

@ -21,7 +21,7 @@ compatibility.
%setup -q %setup -q
# Simple makefile doesn't respect environment variables so cheat it. # Simple makefile doesn't respect environment variables so cheat it.
sed -i 's|\-Wall|%{optflags}|' Makefile sed -i 's|\-Wall|%{optflags} -fPIC -pie -Wl,-z,relro -Wl,-z,now|' Makefile
%build %build

Loading…
Cancel
Save