This is the mail archive of the java-patches@gcc.gnu.org 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]
Other format: [Raw text]

[PATCH, libjava/classpath]: Fix overriding recipe for target 'gjdoc' build warning


Hello!

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  <ubizjak@gmail.com>

    * 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?

Uros.

Attachment: jc.diff.txt
Description: Text document


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