commit | 0b5dce6dae76f4866550eb128edd598c4f9c6762 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Aug 20 15:06:00 2024 +0000 |
committer | Elliott Hughes <enh@google.com> | Tue Aug 20 15:06:00 2024 +0000 |
tree | c2edf57c8a205d4a046996d2c9dfde0f7b06d3f1 | |
parent | cda9ce15ffcdcb6e1b6d73a88ee667c284a74974 [diff] [blame] |
Use -fno-omit-frame-pointer for host linux. Helps with debugging/profiling. Bug: http://b/245707217 Change-Id: I6b2d4f73edbdbcdc36b3bf531341dd2dfb51a87c
diff --git a/cc/config/x86_linux_host.go b/cc/config/x86_linux_host.go index 7f22377..287967c 100644 --- a/cc/config/x86_linux_host.go +++ b/cc/config/x86_linux_host.go
@@ -26,6 +26,8 @@ "-fPIC", + "-fno-omit-frame-pointer", + "-U_FORTIFY_SOURCE", "-D_FORTIFY_SOURCE=2", "-fstack-protector",