diff --git a/ChangeLog b/ChangeLog index b0a40c6ba..7b215ac9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-11-22 Vladimir Serbinenko + + * configure.ac: Do not enforce -mcmodel=large. It's not necessarry with + 3 last commits. + 2013-11-22 Vladimir Serbinenko * grub-core/kern/xen/init.c: Do not map more pages than we can address. diff --git a/configure.ac b/configure.ac index 8852a9899..cb12f2401 100644 --- a/configure.ac +++ b/configure.ac @@ -727,9 +727,7 @@ if test "$target_cpu" = x86_64; then [grub_cv_cc_mcmodel=yes], [grub_cv_cc_mcmodel=no]) ]) - if test "x$grub_cv_cc_mcmodel" = xno; then - AC_MSG_ERROR([-mcmodel=large not supported. Upgrade your gcc.]) - else + if test "x$grub_cv_cc_mcmodel" = xyes; then TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large" fi fi