summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libubacktrace/Makefile.in4
-rw-r--r--libubacktrace/backtrace.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libubacktrace/Makefile.in b/libubacktrace/Makefile.in
index a932f83cf..b18e3e675 100644
--- a/libubacktrace/Makefile.in
+++ b/libubacktrace/Makefile.in
@@ -26,8 +26,8 @@ libubacktrace_OUT := $(top_builddir)libubacktrace
libubacktrace_SRC-y :=
libubacktrace_SRC-$(UCLIBC_HAS_BACKTRACE) := backtrace.c backtracesyms.c backtracesymsfd.c
-# -funwind-tables is required for backtrace to work using dwarf2
-CFLAGS-backtrace.c := -funwind-tables
+# -fasynchronous-unwind-tables is required for backtrace to work using dwarf2
+CFLAGS-backtrace.c := -fasynchronous-unwind-tables
libubacktrace_SRCS := $(addprefix $(libubacktrace_DIR)/,$(libubacktrace_SRC-y))
diff --git a/libubacktrace/backtrace.c b/libubacktrace/backtrace.c
index e5f513040..205a0a0ce 100644
--- a/libubacktrace/backtrace.c
+++ b/libubacktrace/backtrace.c
@@ -2,7 +2,7 @@
* Perform stack unwinding by using the _Unwind_Backtrace.
*
* User application that wants to use backtrace needs to be
- * compiled with -funwind-tables option and -rdynamic to get full
+ * compiled with -fasynchronous-unwind-tables option and -rdynamic to get full
* symbols printed.
*
* Copyright (C) 2009, 2010 STMicroelectronics Ltd.