> > > 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