Determine the need for mingw-related stubs at compile time rather than

using not very significant $target_os.
This commit is contained in:
Vladimir Serbinenko 2013-12-16 14:18:15 +01:00
parent fadddc260a
commit 252a289cb3
4 changed files with 16 additions and 12 deletions

View file

@ -693,16 +693,6 @@ if test "x$grub_cv_cc_fno_asynchronous_unwind_tables" = xyes; then
TARGET_CFLAGS="$TARGET_CFLAGS -fno-asynchronous-unwind-tables"
fi
# For platforms where ELF is not the default link format.
case "${target_os}" in
cygwin)
# FIXME: put proper test here
NEED_REGISTER_FRAME_INFO=1
;;
*) NEED_REGISTER_FRAME_INFO=0 ;;
esac
AC_ARG_ENABLE([efiemu],
[AS_HELP_STRING([--enable-efiemu],
[build and install the efiemu runtimes (default=guessed)])])