* 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

@ -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