configure.ac: Add ia64-specific way to disable floats.
This commit is contained in:
parent
50ebc8f5f3
commit
ea39b87a8b
1 changed files with 5 additions and 0 deletions
|
@ -690,6 +690,11 @@ if test x"$platform" != xemu ; then
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
||||||
[grub_cv_target_cc_soft_float="-march=armv8-a+nofp+nosimd"], [])
|
[grub_cv_target_cc_soft_float="-march=armv8-a+nofp+nosimd"], [])
|
||||||
fi
|
fi
|
||||||
|
if test "x$target_cpu" = xia64; then
|
||||||
|
CFLAGS="$TARGET_CFLAGS -mno-inline-float-divide -mno-inline-sqrt -Werror"
|
||||||
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
||||||
|
[grub_cv_target_cc_soft_float="-mno-inline-float-divide -mno-inline-sqrt"], [])
|
||||||
|
fi
|
||||||
for cand in "-Xclang -msoft-float -Xclang -no-implicit-float" \
|
for cand in "-Xclang -msoft-float -Xclang -no-implicit-float" \
|
||||||
"-Xclang -msoft-float" "-msoft-float"; do
|
"-Xclang -msoft-float" "-msoft-float"; do
|
||||||
if test x"$grub_cv_target_cc_soft_float" != xno ; then
|
if test x"$grub_cv_target_cc_soft_float" != xno ; then
|
||||||
|
|
Loading…
Reference in a new issue