[Rpm-maint] [rpm-software-management/rpm] Enable hardening flags where available (#1501)

Panu Matilainen notifications at github.com
Tue Mar 16 11:03:09 UTC 2021


Change the commit summary to "Enable compiler sanity" and I'll merge in a whim :smile: 

Not really joking about that BTW. But actually do explain the different options in the commit message more thoroughly. It's possible (likely even) that other compilers need similar treatment but different flags, and they shouldn't have to chase around for gcc online docs to see what magic it is that these rather obscure flags do.

Oh and feel free to add `-fno-delete-null-pointer-checks` while at it. I have a dim recollection of reading about kernel developers getting upset about that and must've thought they made enough noise for the gcc folks to revert that behavior. But apparently not, yikes :grimacing: 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1501#issuecomment-800163372
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210316/2f5a97a5/attachment-0001.html>


More information about the Rpm-maint mailing list