[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: override default CXXFLAGS
From: |
Tilo Riemer |
Subject: |
Re: override default CXXFLAGS |
Date: |
Mon, 25 Jun 2001 17:11:16 +0200 |
User-agent: |
Mutt/1.2.4i |
> > > 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
thanks for hints, but what I searched for, was the following very simple
solution:
using CXXFLAGS instead AM_CXXFLAGS in Makefile.am...
this one overrides the defaults :-)
best regards, Tilo