Skip to content

Buildflags #36

Open
Open
@remicollet

Description

@remicollet

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
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions