[PATCH] Install libjava binaries only for primary multilib (PR libgcj/33764)
David Daney
ddaney@caviumnetworks.com
Wed Nov 12 17:45:00 GMT 2008
Jakub Jelinek wrote:
> Hi!
>
> make install in libjava installs binaries from all multilib
> builds into the same --bindir, so it is just a matter of timing
> which ABI wins. The following patch only installs the binaries
> for the primary multilib, for all other multilibs they
> are just noinst_PROGRAMS (built and used during the build and make check,
> but not installed).
> Tested on x86_64-linux, ok for trunk?
>
> 2008-11-12 Jakub Jelinek <jakub@redhat.com>
>
> PR libgcj/33764
> libjava/
> * configure.ac (INSTALL_BINARIES): New AM_CONDITIONAL.
> * Makefile.am: If not INSTALL_BINARIES, use noinst_PROGRAMS
> instead of bin_PROGRAMS for binaries.
> * configure: Regenerated.
> * Makefile.in: Regenerated.
> libjava/classpath/
> * configure.ac (INSTALL_BINARIES): New AM_CONDITIONAL.
> * tools/Makefile.am: If not INSTALL_BINARIES, use noinst_PROGRAMS
> instead of bin_PROGRAMS for binaries.
> * configure: Regenerated.
> * tools/Makefile.in: Regenerated.
>
FWIW, I think this is a good idea.
David Daney
More information about the Gcc-patches
mailing list