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]
Other format: [Raw text]

Re: Need a way to pass options to libtool


On Sun, May 23, 2004 at 03:20:35PM -0500, Bob Friesenhahn wrote:
> Currently Automake Makefiles include text like:
> 
> LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
>         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
>         $(AM_CXXFLAGS) $(CXXFLAGS)
> 
> Notice that there is no means provided to add libtool specific
> options.  The only means available is for the user to cut-and-past
> this chunk into their Makefile.am so that it overrides Automake's
> default.  This has long term negative effects for Automake.

Why not:
  AM_CXXFLAGS += [your additions]

-- 
albert chin (china@thewrittenword.com)



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