* configure.ac: Do not enforce -mcmodel=large. It's not necessarry with

3 last commits.
This commit is contained in:
Vladimir Serbinenko 2013-11-22 13:07:51 +01:00
parent e1c22419ac
commit a3ba74104e
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2013-11-22 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Do not enforce -mcmodel=large. It's not necessarry with
3 last commits.
2013-11-22 Vladimir Serbinenko <phcoder@gmail.com> 2013-11-22 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/xen/init.c: Do not map more pages than we can address. * grub-core/kern/xen/init.c: Do not map more pages than we can address.

View file

@ -727,9 +727,7 @@ if test "$target_cpu" = x86_64; then
[grub_cv_cc_mcmodel=yes], [grub_cv_cc_mcmodel=yes],
[grub_cv_cc_mcmodel=no]) [grub_cv_cc_mcmodel=no])
]) ])
if test "x$grub_cv_cc_mcmodel" = xno; then if test "x$grub_cv_cc_mcmodel" = xyes; then
AC_MSG_ERROR([-mcmodel=large not supported. Upgrade your gcc.])
else
TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large" TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large"
fi fi
fi fi