Re: How to remove "-O2" on Makefile generated by autoconf/make

2005-11-29 Thread Russell Shaw
Feng QIN wrote: Hello all, When I use autoconf/automake tools to generate makefile for my package, the CXXFLAGS is always added "-O2" by tools, while I don't want to use for debuging. Is it possible to remove it from options of configure command or some other ways better than removing it manually

Re: -rpath and Automake

2005-11-29 Thread Russ Allbery
Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > That wouldn't work. This -rpath is a libtool option, not a linker > option. It is required when buidling installable libtool libraries. > Without it libtool would build a convenience library (as documented). > Whether libtool -rpath will eventu

Re: -rpath and Automake

2005-11-29 Thread Alexandre Duret-Lutz
>>> "RA" == Russ Allbery <[EMAIL PROTECTED]> writes: RA> Hello folks, RA> The Automake manual says: > For libraries whose destination directory is known when Automake > runs, Automake will automatically supply the appropriate `-rpath' > option to libtool. This is the case for libraries list

-rpath and Automake

2005-11-29 Thread Russ Allbery
Hello folks, The Automake manual says: For libraries whose destination directory is known when Automake runs, Automake will automatically supply the appropriate `-rpath' option to libtool. This is the case for libraries listed explicitly in some installable `_LTLIBRARIES' vari

Re: How to remove "-O2" on Makefile generated by autoconf/make

2005-11-29 Thread David Fang
> When I use autoconf/automake tools to generate makefile for my package, the > CXXFLAGS is always added "-O2" by tools, while I don't want to use for > debuging. > Is it possible to remove it from options of configure command or some other > ways better than removing it manually everytime on Makef