]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
configure: Fix grub_cv_cc_fno_unwind_tables check.
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 31 Dec 2015 17:19:15 +0000 (18:19 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Thu, 31 Dec 2015 17:19:15 +0000 (18:19 +0100)
Check tries -fno-dwarf2-cfi-asm but adds -fno-asynchronous-unwind-tables
to TARGET_CFLAGS. Fix this.

configure.ac

index f662e200e4ea6ee6c1f0cb592cc1e3b82231b0b9..ada6068d9b5edf00cc1490632b7ccd78d1b55657 100644 (file)
@@ -927,7 +927,7 @@ fi
 # these and they just use up vital space. Restore the old compiler
 # behaviour.
 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([[]], [[]])],
       [grub_cv_cc_fno_asynchronous_unwind_tables=yes],
       [grub_cv_cc_fno_asynchronous_unwind_tables=no])