mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
configure.ac: Set $CPPFLAGS when checking for no_app_regs.
Fixes compilation for sparc64 with clang.
This commit is contained in:
1 parent
87ec3b7fa9
commit
aa6ccc05c1
1 file changed
+1
@@ -741,6 +741,7 @@ if test x"$target_cpu" = xsparc64 ; then
|
||||
break
|
||||
fi
|
||||
CFLAGS="$TARGET_CFLAGS $cand -Werror"
|
||||
CPPFLAGS="$TARGET_CPPFLAGS"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
||||
[grub_cv_target_cc_mno_app_regs="$cand"], [])
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user