Leif's build fixes
This commit is contained in:
parent
fa8058da9e
commit
bb9f92b9b1
8 changed files with 90 additions and 92 deletions
|
@ -656,6 +656,14 @@ if test x"$sap_possible" = xyes; then
|
|||
TARGET_CFLAGS="$TARGET_CFLAGS -mno-stack-arg-probe"
|
||||
fi
|
||||
|
||||
# -mno-unaligned-access
|
||||
if test "$target_cpu" = arm; then
|
||||
grub_CHECK_NO_UNALIGNED_ACCESS
|
||||
if test x"$nua_possible" = xyes; then
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -mno-unaligned-access"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE([werror],
|
||||
[AS_HELP_STRING([--disable-werror],
|
||||
[do not use -Werror when building GRUB])])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue