This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
RE: 'DATA' is an anachronism
- To: <automake at gnu dot org>
- Subject: RE: 'DATA' is an anachronism
- From: "David Carter" <david at carter dot net>
- Date: Fri, 17 Aug 2001 22:22:01 -0400
- List-Id: Discussion list for automake <automake.gnu.org>
Tom Tromey wrote:
>> David> CXXFLAGS += -DDATA_DIR=$(pkgdatadir) -Wall -g -O3
>>Don't do this. Use AM_CXXFLAGS instead.
>> Actually, I would remove `-g -O3' entirely, and only use -Wall if
>> configure detected gcc.
When I used AM_CXXFLAGS, I ended up with two sets of "-g -O{2,3}" in the
compiler invocation. It seems the -O2 set must be coming from CFLAGS in
the environment? What is the interaction between
CFLAGS/CXXFLAGS/AM_C(XX)FLAGS?
Thanks for the response!
-David