diff options
author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-23 17:13:27 +0000 |
---|---|---|
committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-23 17:13:27 +0000 |
commit | 78a699f0cee61e3ef8108af6d402a2ba2f764325 (patch) | |
tree | 6671be721bcd757cbbf12622c31a80c83092a0c8 /libjava/configure.in | |
parent | 10d576f52addd8c7a3b4838a1760d784694638f4 (diff) | |
download | gcc-78a699f0cee61e3ef8108af6d402a2ba2f764325.tar.gz |
Fix cross builds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42497 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.in')
-rw-r--r-- | libjava/configure.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libjava/configure.in b/libjava/configure.in index cad0722546a..b6b9baf8e7e 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -374,12 +374,10 @@ if test -n "${with_cross_host}"; then # If Canadian cross, then don't pick up tools from the build # directory. - if test "$build" != "$with_cross_host"; then + if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then CANADIAN=yes GCC_UNWIND_INCLUDE= GCJ="${target_alias}-gcj" - else - GCJ= fi NATIVE=no else |