diff --git a/configure.ac b/configure.ac index f3c9b90..cd9fa8d 100644 --- a/configure.ac +++ b/configure.ac @@ -605,14 +605,10 @@ if test "x$target_cpu" = xmips || test "x$target_cpu" = xmipsel ; then break fi CFLAGS="$TARGET_CFLAGS $arg -Werror" - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #if !defined(_ABIO32) || !defined(_MIPS_SIM) || (_MIPS_SIM != _ABIO32) #error not o32 ABI #endif -asm (".globl start; start:"); -void __main (void); -void __main (void) {} -int main (void); ]], [[]])], [grub_cv_target_cc_mips_o32_abi="$arg"], []) done