diff options
| -rw-r--r-- | cc/sanitize.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/sanitize.go b/cc/sanitize.go index edff05973..c214d5f9d 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -714,6 +714,8 @@ func (sanitize *sanitize) flags(ctx ModuleContext, flags Flags) Flags { if Bool(sanitize.Properties.Sanitize.Memtag_stack) { flags.Local.CFlags = append(flags.Local.CFlags, memtagStackCommonFlags...) + // TODO(fmayer): remove -Wno-error once https://reviews.llvm.org/D127917 is in Android toolchain. + flags.Local.CFlags = append(flags.Local.CFlags, "-Wno-error=frame-larger-than") flags.Local.AsFlags = append(flags.Local.AsFlags, memtagStackCommonFlags...) flags.Local.LdFlags = append(flags.Local.LdFlags, memtagStackCommonFlags...) } |