Use -fno-omit-frame-pointer for host linux.

Helps with debugging/profiling.

Bug: http://b/245707217
Change-Id: I6b2d4f73edbdbcdc36b3bf531341dd2dfb51a87c
This commit is contained in:
Elliott Hughes
2024-08-20 15:06:00 +00:00
parent cda9ce15ff
commit 0b5dce6dae
2 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ var (
"-fPIC",
"-fno-omit-frame-pointer",
"-U_FORTIFY_SOURCE",
"-D_FORTIFY_SOURCE=2",
"-fstack-protector-strong",

View File

@@ -26,6 +26,8 @@ var (
"-fPIC",
"-fno-omit-frame-pointer",
"-U_FORTIFY_SOURCE",
"-D_FORTIFY_SOURCE=2",
"-fstack-protector",