HomeClusterLabs Projects

Build: configure: check for -Werror support consistently

Description

Build: configure: check for -Werror support consistently

Previously, the configure script sometimes checked for -Werror support using
cc_support_flags and sometimes used it unconditionally. Now, a variable is
defined early on for use everywhere.

Also, helper functions for setting temporary CFLAGS were added, to reduce
code duplication and improve readability.

Details

Provenance
kgaillotAuthored on Apr 3 2018, 10:18 AM
Parents
rP9cd7f7a4d2e6: Build: configure: remove obsolete macro
Branches
Unknown
Tags
Unknown

Event Timeline