Libunwindstack: Add -O0 to tools defaults on host
Extend the debug support from the host library to host tools. Test: mmma system/core/libunwindstack Change-Id: Ib6ea5f021d6b8139c545eaa2e6b1675befa4d3bd
This commit is contained in:
parent
74bf81443f
commit
8ccbe4258e
1 changed files with 9 additions and 0 deletions
|
|
@ -220,6 +220,15 @@ cc_defaults {
|
|||
"libbase",
|
||||
"liblzma",
|
||||
],
|
||||
target: {
|
||||
// Always disable optimizations for host to make it easier to debug.
|
||||
host: {
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue