This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [C++/Obj-C++ PATCH] Fix Objective-C++ breakage


* Jakub Jelinek wrote on Fri, Mar 28, 2008 at 02:21:05PM CET:
> Not sure if libtool can be easily convinced to avoid building everything
> twice though.

Either pass -static/-shared in {,AM_,target_}GCJFLAGS or pass
--tag=disable-static/ --tag=disable-shared before the --tag=GCJ argument
(Automake 1.10 has {,AM_,target_}LIBTOOLFLAGS for this, with 1.9.6
something like
  LIBTOOL = @LIBTOOL@ --tag=disable-static

should work.  If you can decide globally per configure, then passing
--disable-static/--disable-shared to that is preferable, though.

Cheers,
Ralf


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