Commit 8b45a0d3 by Tom Tromey Committed by Tom Tromey

re PR bootstrap/14614 (Double target prefixed gcjh)

	PR bootstrap/14614:
	* Make-lang.in (java.install-common): Only install transformed

From-SVN: r91692
parent 76f56a4d
2004-12-03 Tom Tromey <tromey@redhat.com>
PR bootstrap/14614:
* Make-lang.in (java.install-common): Only install transformed
gcjh if gcj-cross exists.
2004-12-03 Andrew Haley <aph@redhat.com> 2004-12-03 Andrew Haley <aph@redhat.com>
PR java/18812 PR java/18812
......
...@@ -217,7 +217,9 @@ java.install-common: installdirs ...@@ -217,7 +217,9 @@ java.install-common: installdirs
rm -f $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \ rm -f $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
$(INSTALL_PROGRAM) $$tool$(exeext) $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \ $(INSTALL_PROGRAM) $$tool$(exeext) $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
chmod a+x $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \ chmod a+x $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
if [ $$tool = gcjh ]; then \ if [ -f $(GCJ)-cross$(exeext) ]; then \
true; \
elif [ $$tool = gcjh ]; then \
rm -f $(DESTDIR)$(bindir)/$(GCJH_TARGET_INSTALL_NAME)$(exeext); \ rm -f $(DESTDIR)$(bindir)/$(GCJH_TARGET_INSTALL_NAME)$(exeext); \
( cd $(DESTDIR)$(bindir) && \ ( cd $(DESTDIR)$(bindir) && \
$(LN) $$tool_transformed_name$(exeext) $(GCJH_TARGET_INSTALL_NAME)$(exeext) ); \ $(LN) $$tool_transformed_name$(exeext) $(GCJH_TARGET_INSTALL_NAME)$(exeext) ); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment