Re: [PATCH, libjava/classpath]: Fix overriding recipe for target 'gjdoc' build warning
Uros Bizjak <[email protected]> Tue, 11 Aug 2015 20:03:46 +0200
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.java.patches |
|---|---|
| Message-ID | <CAFULd4bj7q=U+yHrd=+U9NgB=wMQtarvAEw-uAW9xL6SC09keQ@mail.gmail.com> |
On Fri, Aug 7, 2015 at 1:21 PM, Uros Bizjak <[email protected]> wrote: > Attached patch fixes: > > Makefile:871: warning: overriding recipe for target 'gjdoc' > Makefile:786: warning: ignoring old recipe for target 'gjdoc' > > build warning when compiling libjava. > > The problem was in configure.ac: we have to depend gjdoc build on > CREATE_WRAPPERS in the same way as other tools are dependent a couple > of lines above. > > While in this area, I also removed obsolete automake < 1.11 > workaround. As mentioned in HACKING: "Make sure you have Automake > 1.11.1 installed. Exactly that version!" > > I have included all generated files in the diff. The changes are small > and they illustrate the effect of the patch. > > 2015-08-07 Uros Bizjak <[email protected]> > > * configure.ac (tools/gjdoc): Depend on CREATE_WRAPPERS. > * configure: Regenerate. > * tools/Makefile.am: Remove unneeded dependencies for Automake 1.11. > * tools/Makefile.in: Regenerate. > > Patch was bootstrapped on x86_64-linux-gnu, Fedora 22. > > OK for GCC mainline? I have committed this patch to GCC mainline SVN repository. Both issues can be considered obvious and the fix is trivial. Also, it looks like the official classpath repository is a dead place for a couple of years. Uros.