AM_CXXFLAGS instead of CXXFLAGS
mateusz at loskot.net
Mon Aug 28 17:59:56 EDT 2006
I'd like to request for small change.
As I see, in almost all Makefile.am files CXXFLAGS variables are
When user want's to customize these flags, automake throws:
Src/UnitTest/Makefile.am:196: `CXXFLAGS' is a user variable, you should
not override it;
Src/UnitTest/Makefile.am:196: use `AM_CXXFLAGS' instead.
Automake book says:
"These variables are considered user variables. Setting
them in `Makefile.am' is unsafe, because the user will
expect to be able to override them at will."
Following FAQ includes short explanation of it too:
Do you mind to change CXXFLAGS variable to AM_CXXFLAGS macro
(supported by automake >= 1.4) ?
Thanks in advance.
More information about the Fdo-internals