HomeClusterLabs Projects

Check for compiler flags with -Werror

Description

Check for compiler flags with -Werror

For example for -fstack-protector, it is accepted by gcc for
all targets, however those targets where it is actually not
supported, it will print a warning like

"-fstack-protector is not supported for this platform"

which raises an error when using -Werror later. So better
not add -fstack-protector then to the CC_EXTRA_FLAGS

Details

Provenance
Dirk Mueller <dmueller@suse.com>Authored on Oct 16 2013, 10:42 AM
Parents
rP6a5e863b835f: Merge pull request #373 from davidvossel/remote-node-ipc-proxy-fixes
Branches
Unknown
Tags
Unknown

Event Timeline