]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* configure.ac: Refuse to compile for x86_64-efi is mcmodel=large
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 21 Apr 2010 19:26:56 +0000 (21:26 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 21 Apr 2010 19:26:56 +0000 (21:26 +0200)
is not supported.

ChangeLog
configure.ac

index a80606f46ed49239cb6f1092926b17e750672ecf..a8fab4bccaeecc79f7e6ab1db1e34be2a29b4f2f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-21  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * configure.ac: Refuse to compile for x86_64-efi is mcmodel=large
+       is not supported.
+
 2010-04-19  GrĂ©goire Sutre  <gregoire.sutre@gmail.com>
 
        Add grub-mkconfig support for NetBSD.
index 5b959fb01e8306980887a0d75010b7f60787ee3a..28b3c1d95d301ed888f844552802667d4c764c43 100644 (file)
@@ -413,9 +413,7 @@ if test "$target_cpu"-"$platform" = x86_64-efi; then
                      [grub_cv_cc_mcmodel=no])
   ])
   if test "x$grub_cv_cc_mcmodel" = xno; then
-    CFLAGS="$SAVED_CFLAGS -m64 -DMCMODEL_SMALL=1"
-    TARGET_CFLAGS="$TARGET_CFLAGS -DMCMODEL_SMALL=1"
-    AC_MSG_WARN([-mcmodel=large not supported. You won't be able to use the memory over 4GiB. Upgrade your gcc])
+    AC_MSG_ERROR([-mcmodel=large not supported. Upgrade your gcc.])
   else
     TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large"
   fi