arm64: Fix compilation failure.
Don't supply +nosimd to asm files. Otherwise +nosimd coming from flags forbids some of instructions used in cache_flush.
This commit is contained in:
parent
f034fab620
commit
345076a78a
1 changed files with 10 additions and 1 deletions
|
@ -719,7 +719,16 @@ if test x"$platform" != xemu ; then
|
|||
TARGET_CFLAGS="$TARGET_CFLAGS $grub_cv_target_cc_soft_float"
|
||||
;;
|
||||
esac
|
||||
case x"$grub_cv_target_cc_soft_float" in
|
||||
x"-march=armv8-a+nofp+nosimd")
|
||||
# +nosimd disables also the cache opcodes that we need in asm.
|
||||
TARGET_CCASFLAGS="$TARGET_CCASFLAGS -march=armv8-a+nofp"
|
||||
;;
|
||||
*)
|
||||
TARGET_CCASFLAGS="$TARGET_CCASFLAGS $grub_cv_target_cc_soft_float"
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
|
||||
if test x"$target_cpu" = xsparc64 ; then
|
||||
|
|
Loading…
Reference in a new issue