work around libtool to fix alpha libgcj build

Alexandre Oliva aoliva@redhat.com
Sun Feb 13 19:06:00 GMT 2005


On Feb 12, 2005, Richard Henderson <rth@redhat.com> wrote:

> On Fri, Feb 11, 2005 at 03:31:16PM -0200, Alexandre Oliva wrote:
>> We probably can.  I just have no idea of how to accomplish this with
>> automake.  Basically, you want to add --tag=disable-static before (or
>> right after) --tag={CC,CXX,GCJ} --mode=compile.

> Which, for some reason, causes -DPIC to suddenly appear on the java
> compile line.  Which is wrong, of course.  Did I do something silly?

You still want --tag=GCJ, --tag=CXX or --tag=CC for compilation, I
think.  disable-{shared,static} tags are supposed to be cumulative.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Java-patches mailing list