HomeClusterLabs Projects

build: sanitize CFLAGS handling

Description

build: sanitize CFLAGS handling

As for LDFLAGS previously: leave the CFLAGS "user variable" untouched to
enable easy selective overriding of the flags used by the build system.

Using $lt_prog_compiler_pic shouldn't be necessary, let's drop it and
see if anything breaks. WERROR_CFLAGS was undefined, so dropped as well.

Signed-off-by: Ferenc Wágner <wferi@debian.org>

Details

Provenance
wferiAuthored on Jan 23 2018, 6:01 AM
fabbioneCommitted on Jan 30 2018, 1:28 AM
Parents
rKc6afa80e3511: build: we preserve CPPFLAGS, just remove the tempting hooks
Branches
Unknown
Tags
Unknown

Event Timeline