configure: Fix grub_cv_cc_fno_unwind_tables check.
Check tries -fno-dwarf2-cfi-asm but adds -fno-asynchronous-unwind-tables to TARGET_CFLAGS. Fix this.
This commit is contained in:
parent
f1b3525385
commit
5ae590b32d
1 changed files with 1 additions and 1 deletions
|
@ -927,7 +927,7 @@ fi
|
||||||
# these and they just use up vital space. Restore the old compiler
|
# these and they just use up vital space. Restore the old compiler
|
||||||
# behaviour.
|
# behaviour.
|
||||||
AC_CACHE_CHECK([whether -fno-asynchronous-unwind-tables works], [grub_cv_cc_fno_asynchronous_unwind_tables], [
|
AC_CACHE_CHECK([whether -fno-asynchronous-unwind-tables works], [grub_cv_cc_fno_asynchronous_unwind_tables], [
|
||||||
CFLAGS="$TARGET_CFLAGS -fno-dwarf2-cfi-asm"
|
CFLAGS="$TARGET_CFLAGS -fno-asynchronous-unwind-tables"
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
||||||
[grub_cv_cc_fno_asynchronous_unwind_tables=yes],
|
[grub_cv_cc_fno_asynchronous_unwind_tables=yes],
|
||||||
[grub_cv_cc_fno_asynchronous_unwind_tables=no])
|
[grub_cv_cc_fno_asynchronous_unwind_tables=no])
|
||||||
|
|
Loading…
Reference in a new issue