gcc fortify parameter

Bug #1764771 reported by Miika Komu on 2018-04-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HIPL
Wishlist
Miika Komu

Bug Description

Add fortify parameter to AM_CFLAGS to catch some trivial errors:

https://access.redhat.com/blogs/766093/posts/1976213

Note, it seems that "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" is needed. =2 could be also used for more checks.

Consider if this should be just part of "make check".

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers