diff --git a/vtable-dumper.spec b/vtable-dumper.spec index a557775..0c54304 100644 --- a/vtable-dumper.spec +++ b/vtable-dumper.spec @@ -21,7 +21,7 @@ compatibility. %setup -q # 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