Open
Description
Hi,
CFLAGS is set in config.m4.
This is a bad practice as this don't honor default build flags used in downstream distribution.
As you only add warnings, probably you can omit those.
Else, please use CFLAGS="CFLAGS ..."
FYI, fedora use : "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic" and I often add "-Werror"
for now, I will use sed -e 's/CFLAGS/IGNORED/' -i config.m4
Metadata
Metadata
Assignees
Labels
No labels