enable xnu on all platforms

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-05-02 22:06:44 +02:00
parent db292d391f
commit 05f602fc51
15 changed files with 145 additions and 90 deletions

View file

@ -542,6 +542,12 @@ AC_ARG_ENABLE([efiemu],
if test x"$enable_efiemu" = xno ; then
efiemu_excuse="explicitly disabled"
fi
if test x"$target_cpu" != xi386 ; then
efiemu_excuse="only available on i386"
fi
if test x"$platform" != xefi ; then
efiemu_excuse="not available on efi"
fi
if test x"$efiemu_excuse" = x ; then
AC_CACHE_CHECK([whether options required for efiemu work], grub_cv_cc_efiemu, [
CFLAGS="$CFLAGS -m64 -mcmodel=large -mno-red-zone -nostdlib"