Removing '-D_FORTIFY_SOURCE=.' from CFLAGS leaves an empty '-Wp'. I added '[^ ]' preceding the source pattern. I also added '[0-9]' after the pattern to remove '-O', and a space after the '-g' removal pattern.
Done in [r2707]. The changes for handling the -O and -g had already been added thanks to Ludwin Janvier, so only the change for -D_FORTIFY_SOURCE was applied.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Assigned to Edward as he already included the last patch here (note: we normally don't remove
-gany more).Done in [r2707]. The changes for handling the
-Oand-ghad already been added thanks to Ludwin Janvier, so only the change for-D_FORTIFY_SOURCEwas applied.