You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: