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


> 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


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