configure.ac: Add ia64-specific way to disable floats.

This commit is contained in:
Vladimir Serbinenko 2015-02-22 14:42:19 +01:00
parent 50ebc8f5f3
commit ea39b87a8b

View file

@ -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