This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: override default CXXFLAGS


On Friday 22 June 2001 11:45 am, Rusty Ballinger wrote:
> > 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

If you just want to get rid of the debug symbols, do it at install time:

	$ make install-strip

Cheers,
	Gary.
-- 
  ())_.  Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/   Research Scientist  http://www.oranda.demon.co.uk        ,_())____
  / )=   GNU Hacker          http://www.gnu.org/software/libtool   \'      `&
`(_~)_   Tech' Author        http://sources.redhat.com/autobook    =`---d__/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]