This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
libjava build fix
- To: java-patches at sources dot redhat dot com
- Subject: libjava build fix
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Mon, 08 Jan 2001 20:57:34 +1300
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 \