diff options
author | Oliver Chang <ochang@google.com> | 2018-01-25 10:34:23 +1100 |
---|---|---|
committer | Oliver Chang <ochang@google.com> | 2018-01-25 10:36:49 +1100 |
commit | 22b932b62006c128bf7cc061c3a06219c571387f (patch) | |
tree | 7b32d24010661bad4a205d9f183acf838cdcc90c | |
parent | b834f3ecc3a017e08c6d80c1bbca7f93d3c451e7 (diff) |
msan_builder: one more way to disable FORTIFY_SOURCE.
-rwxr-xr-x | infra/base-images/msan-builder/compiler_wrapper.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/infra/base-images/msan-builder/compiler_wrapper.py b/infra/base-images/msan-builder/compiler_wrapper.py index 0643954d..82e6b26f 100755 --- a/infra/base-images/msan-builder/compiler_wrapper.py +++ b/infra/base-images/msan-builder/compiler_wrapper.py @@ -109,6 +109,7 @@ def GetCompilerArgs(args, is_cxx): compiler_args.extend([ # FORTIFY_SOURCE is not supported by sanitizers. '-U_FORTIFY_SOURCE', + '-Wp,-U_FORTIFY_SOURCE', # Reduce binary size. '-gline-tables-only', # Disable all warnings. |