summaryrefslogtreecommitdiffstats
path: root/libbacktrace
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-26 16:21:13 -0700
committerAndreas Gampe <agampe@google.com>2015-03-26 16:21:13 -0700
commitdce8f2923d5eff943b79503919db869539762fba (patch)
tree7bee265afc96b66acc540172a12b377709891453 /libbacktrace
parenta0115bf78db6ef373754fade0fe4028ac8c88653 (diff)
downloadsystem_core-dce8f2923d5eff943b79503919db869539762fba.zip
system_core-dce8f2923d5eff943b79503919db869539762fba.tar.gz
system_core-dce8f2923d5eff943b79503919db869539762fba.tar.bz2
Libbacktrace: Use frame-pointer on host
Otherwise it may have problems unwinding over itself. Change-Id: I9b0d108018ae3f5d98b9ae6fb62d0af83a77d18e
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/Android.build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/Android.build.mk b/libbacktrace/Android.build.mk
index 7e1cd53..d71c8ec 100644
--- a/libbacktrace/Android.build.mk
+++ b/libbacktrace/Android.build.mk
@@ -67,7 +67,7 @@ endif
ifeq ($(build_type),host)
# Only build if host builds are supported.
ifeq ($(build_host),true)
- LOCAL_CFLAGS += -Wno-extern-c-compat
+ LOCAL_CFLAGS += -Wno-extern-c-compat -fno-omit-frame-pointer
ifneq ($($(module)_libc++),)
include external/libcxx/libcxx.mk
endif