This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: override default CXXFLAGS
- To: riemer at lincvs dot org
- Subject: Re: override default CXXFLAGS
- From: "Rusty Ballinger" <rusty at rlyeh dot engr dot sgi dot com>
- Date: Fri, 22 Jun 2001 03:45:46 -0700
- Cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <20010622121920.A5469@ppprs1.phy.tu-dresden.de>
- Reply-To: rusty at sgi dot com
> I set the CXXFLAGS via AM_CXXFLAGS in Makefile.am. the relase version
> should have no -g flag... but there is a default CXX_FLAGS variable in
> Makefile which has always the -g flag. how can I remove this one?
One way is to set it in the environment when running the configure script:
$ CXXFLAGS= ./configure --with-various-args
--Rusty