]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* configure.ac: Do not enforce -mcmodel=large. It's not necessarry with
authorVladimir Serbinenko <phcoder@gmail.com>
Fri, 22 Nov 2013 12:07:51 +0000 (13:07 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Fri, 22 Nov 2013 12:07:51 +0000 (13:07 +0100)
3 last commits.

ChangeLog
configure.ac

index b0a40c6ba73ee1cc9c7ce55231bdc546e3c636db..7b215ac9c2829e04c0660b280a41e39b61593b62 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * grub-core/kern/xen/init.c: Do not map more pages than we can address.
index 8852a9899cc509f3c49d327ac326f959a84d0db7..cb12f24012c7dad67876e16d9867db74e69d5711 100644 (file)
@@ -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