mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
2009-04-12 Pavel Roskin <proski@gnu.org>
* configure.ac: Change the logic when we check for target tools.
Do it when the target is specified and it's different from the
specified value of the host.
This commit is contained in:
1 parent
0f0bdfb199
commit
5b5d4aa5f0
3 files changed
+10
-6
No files matched your search
+2
-3
@@ -231,9 +231,8 @@ esac
|
||||
AC_SUBST(TARGET_OBJ2ELF)
|
||||
AC_MSG_RESULT([$TARGET_OBJ2ELF])
|
||||
|
||||
# For cross-compiling.
|
||||
if test "x$build" != "x$host"; then
|
||||
# XXX this depends on the implementation of autoconf!
|
||||
# Find tools for the target.
|
||||
if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then
|
||||
tmp_ac_tool_prefix="$ac_tool_prefix"
|
||||
ac_tool_prefix=$target_alias-
|
||||
|
||||
|
||||
Reference in new issue
Block a user