mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
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:
1 parent
f034fab620
commit
345076a78a
1 file changed
+10
-1
+10
-1
@@ -719,7 +719,16 @@ if test x"$platform" != xemu ; then
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS $grub_cv_target_cc_soft_float"
|
||||
;;
|
||||
esac
|
||||
TARGET_CCASFLAGS="$TARGET_CCASFLAGS $grub_cv_target_cc_soft_float"
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user