Commit afc7c3c9 authored by hamaji@chromium.org's avatar hamaji@chromium.org

Non-SFI NaCl: Filter out all optimization flags for libc_free.c

BUG=400989
TEST=trybots

Review URL: https://codereview.chromium.org/448803003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288002 0039d316-1c4b-4281-b951-d872f2087c98
parent 62a50a0a
...@@ -1180,7 +1180,6 @@ ...@@ -1180,7 +1180,6 @@
'-fstack-protector-all', '-fstack-protector-all',
'-fprofile-generate', '-fprofile-generate',
'-finstrument-functions', '-finstrument-functions',
'-O2',
# ARM GCC emits symbols like __aeabi_unwind_cpp_pr0 in # ARM GCC emits symbols like __aeabi_unwind_cpp_pr0 in
# .exidx sections with this flag. # .exidx sections with this flag.
'-funwind-tables', '-funwind-tables',
...@@ -1199,6 +1198,7 @@ ...@@ -1199,6 +1198,7 @@
# Do not use any sanitizers tools, which require a few symbols. # Do not use any sanitizers tools, which require a few symbols.
'cflags/': [ 'cflags/': [
['exclude', '-fsanitize'], ['exclude', '-fsanitize'],
['exclude', '^-O'], # Strip -O2, -Os etc.
], ],
'ldflags/': [ 'ldflags/': [
['exclude', '-fsanitize'], ['exclude', '-fsanitize'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment