Relax requirements on asm for non-BIOS i386 platforms.
These platforms don't have a hard limit on size of resulting code16 code, so we don't care if assembly is bigger than necessarry.
This commit is contained in:
parent
3c6043245e
commit
f16b8c0405
3 changed files with 19 additions and 12 deletions
11
configure.ac
11
configure.ac
|
@ -562,14 +562,17 @@ AC_COMPILE_IFELSE(
|
|||
|
||||
AC_CACHE_CHECK([for options to compile assembly], [grub_cv_cc_target_asm_compile], [
|
||||
test_program=
|
||||
case "x$target_cpu" in
|
||||
xmips | xmipsel)
|
||||
case "x$target_cpu-$platform" in
|
||||
xmips-* | xmipsel-*)
|
||||
test_program=mips
|
||||
;;
|
||||
xi386 | xx86_64)
|
||||
xi386-pc)
|
||||
test_program=i386-pc
|
||||
;;
|
||||
xi386-* | xx86_64-*)
|
||||
test_program=i386
|
||||
;;
|
||||
xpowerpc | xsparc64 | xarm)
|
||||
xpowerpc-* | xsparc64-* | xarm-*)
|
||||
test_program=$target_cpu
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue