Historically our build system has hijacked CXXFLAGS
and friends, and this has always been a source of complaints from users and developers. With this PR, we move away from using CXXFLAGS
, CPPFLAGS
and LDFLAGS
, and instead use CORE_*FLAGS
variables for our flags / options, leaving autoconfs FLAG
vars to the user.
Note that there are currently two cases where we will at least clear CXXFLAGS
(if not alreaddy overridden by the user), when doing debugging or when coverage is enabled, to avoid Autoconfs -g -O2
CXXFLAG default.