[PATCH] Fix broken $(db_name) target in Makefile.am

Tom Tromey tromey@redhat.com
Tue Mar 22 19:38:00 GMT 2005


>>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:

Mohan> The following patch is the minimum needed to fix it, and
Mohan> it is the least intrusive, but I'm not completely happy
Mohan> with it. (What if the cross compiler builds a gcj-dbtool
Mohan> which functions correctly on the host machine, but produces
Mohan> a valid executable on the build machine whose behavior is
Mohan> to reformat the hard drive or do a DOS attack on gcc.gnu.org?)

'classmap.db' is only built or installed for native builds.
The definition of dbexec_DATA is wrapped in an `if NATIVE'.

Mohan> 2005-03-22  Mohan Embar  <gnustuff@thisiscool.com>
Mohan> 	* Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
Mohan> 	gcj-dbtool dependency

Thanks, please check this in.  I'm sorry I forgot that this was needed.
You are right, it is also needed for the trunk.

Tom



More information about the Java-patches mailing list