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

Commit cafb3c3b authored by Evgenii Stepanov's avatar Evgenii Stepanov Committed by Android Build Coastguard Worker
Browse files

Revert^3 "Use -target-feature for MTE"

This reverts commit fe67d8f1.

Reason for revert: reapplied too early
(cherry picked from https://android-review.googlesource.com/q/commit:476da833e12179d31f6a301ad65bf45c63a28818)
Merged-In: I8d5f8b056a644b661bf03e79e1f1a783a3dcbf1d
Change-Id: I8d5f8b056a644b661bf03e79e1f1a783a3dcbf1d
parent a213095b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -284,9 +284,9 @@ endif
ifneq ($(filter memtag_stack,$(my_sanitize)),)
  my_cflags += -fsanitize=memtag-stack
  my_ldflags += -fsanitize=memtag-stack
  my_cflags += -Xclang -target-feature -Xclang +mte
  my_ldflags += -Xclang -target-feature -Xclang +mte
  my_asflags += -Xclang -target-feature -Xclang +mte
  my_cflags += -march=armv8a+memtag
  my_ldflags += -march=armv8a+memtag
  my_asflags += -march=armv8a+memtag
  my_sanitize := $(filter-out memtag_stack,$(my_sanitize))
endif