AM_CXXFLAGS instead of CXXFLAGS
Mateusz Loskot
mateusz at loskot.net
Mon Aug 28 17:59:56 EDT 2006
Hi,
I'd like to request for small change.
As I see, in almost all Makefile.am files CXXFLAGS variables are
set manually.
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:
http://sources.redhat.com/autobook/autobook/autobook_40.html
"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:
http://www.kdevelop.org/index.html?filename=3.0/faq.html&set_lang=en#18
Do you mind to change CXXFLAGS variable to AM_CXXFLAGS macro
(supported by automake >= 1.4) ?
Thanks in advance.
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the Fdo_dev
mailing list