2005-06-30 Marco Gerards <metgerards@student.han.nl>
* configure.ac: Fix the test for cross-compiling. * genmk.rb (Program): Use `$(CC)' instead of `$(BUILD_CC)'. Don't define GRUB_UTIL anymore. * util/powerpc/ieee1275/grub-mkimage.c (load_note): Endian fixes so this function works on other systems than just big endian. (load_modules): Likewise. (add_segments): Likewise.
This commit is contained in:
parent
e75d76e157
commit
121c1d832e
6 changed files with 162 additions and 182 deletions
|
@ -109,7 +109,7 @@ AC_CHECK_TOOL(LD, ld)
|
|||
AC_PATH_PROG(RUBY, ruby)
|
||||
|
||||
# For cross-compiling.
|
||||
if test "x$build" = "x$host"; then
|
||||
if test "x$build" != "x$host"; then
|
||||
AC_CHECK_PROGS(BUILD_CC, [gcc egcs cc],
|
||||
[AC_MSG_ERROR([none of gcc, egcs and cc is found. set BUILD_CC manually.])])
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue