[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: override default CXXFLAGS
From: |
Gary V . Vaughan |
Subject: |
Re: override default CXXFLAGS |
Date: |
Fri, 22 Jun 2001 18:46:17 +0100 |
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__/