[Rpm-maint] [rpm-software-management/rpm] Restore (some) compiler sanity (#1584)
Panu Matilainen
notifications at github.com
Thu Mar 18 11:16:23 UTC 2021
-fno-strict-overflow tells gcc and clang to handle signed integer and (at least on gcc) pointer arithmetic wraparound using twos-complement representation like deity intended.
-fno-delete-null-pointer-checks tells gcc not to "optimize" away programmer added safeguards. Really.
Suggested by Demi Marie Obenour.
While at it, clean up some excess flags that have no business in upstream defaults, such as -fstack-protector which has caused us various headaches over the years.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1584
-- Commit Summary --
* Drop excess compiler flags from configure
* Restore (some) compiler sanity
-- File Changes --
M configure.ac (4)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1584.patch
https://github.com/rpm-software-management/rpm/pull/1584.diff
--
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/1584
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210318/e8ecd032/attachment.html>
More information about the Rpm-maint
mailing list