aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libjava/ChangeLog6
-rwxr-xr-xlibjava/configure4
-rw-r--r--libjava/configure.ac4
3 files changed, 10 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 122930b..3653a8d 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-20 Adam Megacz <megacz@cs.berkeley.edu>
+
+ * configure.ac: add $built_gcc_dir to $GCJH and $GCJ when
+ crossbuilding.
+ * configure: Regenerate.
+
2006-12-18 Adam Megacz <megacz@cs.berkeley.edu>
* Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS; it causes
diff --git a/libjava/configure b/libjava/configure
index 4ee87df..fec6c34 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -5016,9 +5016,9 @@ case "${which_gcj}" in
GCC_UNWIND_INCLUDE=
GCJ="${target_noncanonical}-gcj"
else
- GCJ="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
+ GCJ="$built_gcc_dir/gcj -B$built_gcc_dir/"
fi
- GCJH='$(target_noncanonical)-gcjh'
+ GCJH="$built_gcc_dir/gcjh"
;;
path)
GCJ="gcj -B`${PWDCMD-pwd}`/"
diff --git a/libjava/configure.ac b/libjava/configure.ac
index a51e923..9e6b066 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -323,9 +323,9 @@ case "${which_gcj}" in
GCC_UNWIND_INCLUDE=
GCJ="${target_noncanonical}-gcj"
else
- GCJ="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
+ GCJ="$built_gcc_dir/gcj -B$built_gcc_dir/"
fi
- GCJH='$(target_noncanonical)-gcjh'
+ GCJH="$built_gcc_dir/gcjh"
;;
path)
GCJ="gcj -B`${PWDCMD-pwd}`/"