configure.ac: Set $CPPFLAGS when checking for no_app_regs.
Fixes compilation for sparc64 with clang.
This commit is contained in:
parent
87ec3b7fa9
commit
aa6ccc05c1
1 changed files with 1 additions and 0 deletions
|
@ -741,6 +741,7 @@ if test x"$target_cpu" = xsparc64 ; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
CFLAGS="$TARGET_CFLAGS $cand -Werror"
|
CFLAGS="$TARGET_CFLAGS $cand -Werror"
|
||||||
|
CPPFLAGS="$TARGET_CPPFLAGS"
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
||||||
[grub_cv_target_cc_mno_app_regs="$cand"], [])
|
[grub_cv_target_cc_mno_app_regs="$cand"], [])
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue