This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: libjava build fix
- To: java-patches at sources dot redhat dot com
- Subject: Re: libjava build fix
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Mon, 08 Jan 2001 21:08:23 +1300
- References: <3A5972ED.CB6D9EDF@albatross.co.nz>
Ugh, the fix didn't work.
Automake still uses "-Wp,-MD,..." which c++ doesn't like any more. I'm
going to hack the Makefile.in by hand until we can sort this out.
Tom, help!
regards
[ bryce ]
Bryce McKinlay wrote:
> This fix is neccessary to build libjava due to a recent change in the
> way the options to generate dependency files are organized in the
> C++ compiler.
>
> I'm checking this in.
>
> [ bryce ]
>
> 2001-01-08 Bryce McKinlay <bryce@albatross.co.nz>
>
> * Makefile.am: Use the new "-M -MF" option for generating dependencies
> from the c++ compiler.
> * Makefile.in: Rebuilt.
>
> --- Makefile.am 2001/01/08 00:27:49 1.123
> +++ Makefile.am 2001/01/08 07:50:04
> @@ -238,7 +238,7 @@
> ## subdirs. FIXME.
> $(nat_files) $(x_nat_files): %.lo: %.cc
> @echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
> - $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c -o $@ $<
> + $(LTCXXCOMPILE) -M -MF .deps/$(*F).pp -c -o $@ $<
> @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
> < .deps/$(*F).pp > .deps/$(*F).P; \
> tr ' ' '\012' < .deps/$(*F).pp \