summaryrefslogtreecommitdiff
path: root/libjava/Makefile.am
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-27 04:27:40 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-27 04:27:40 +0000
commitcda5fe864d366d244bbfb4da6d492cfc837dea7d (patch)
treef65631ede4a921c4935389a45f2258cc29d1a33d /libjava/Makefile.am
parent2f1887bd485c2c34b5f1e5bc300db4b9afaf0e23 (diff)
downloadgcc-cda5fe864d366d244bbfb4da6d492cfc837dea7d.tar.gz
Fix building ecjx in cross compile mode.
libjava/: PR libgcj/40868 * configure.ac: Add GCC_FOR_ECJX variable. Ensure GCJ_FOR_ECJX is always set. * Makefile.am [!NATIVE] (ecjx.$(OBJEXT)): New rule. * Makefile.in: Regenerate. * configure: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163580 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/Makefile.am')
-rw-r--r--libjava/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index dcdf8273007..52d09955609 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -1170,6 +1170,8 @@ ecjx_LINK = $(GCJ_FOR_ECJX_LINK) $(ecjx_LDFLAGS)
ecjx_LDFLAGS = $(ECJX_BASE_FLAGS) $(ECJ_BUILD_JAR)
ecjx_LDADD =
ecjx_DEPENDENCIES =
+ecjx.$(OBJEXT): ecjx.cc
+ $(GCC_FOR_ECJX) -c $<
endif !NATIVE