Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 383e29bc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Work around stack frame size for memtag-stack"

parents 7ae3a3c1 1e4f899c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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...)
	}