This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


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

libjava build fix


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 \




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