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

This reverts commit 32721f125b.

Reason for revert: RBE workaround landed

Change-Id: I318f1a429fa6e13731555e252c7b6bdf81938f44
This commit is contained in:
Evgenii Stepanov
2024-10-07 23:14:20 +00:00
committed by Gerrit Code Review
parent 32721f125b
commit fe67d8f1f2

View File

@@ -284,9 +284,9 @@ endif
ifneq ($(filter memtag_stack,$(my_sanitize)),)
my_cflags += -fsanitize=memtag-stack
my_ldflags += -fsanitize=memtag-stack
my_cflags += -march=armv8a+memtag
my_ldflags += -march=armv8a+memtag
my_asflags += -march=armv8a+memtag
my_cflags += -Xclang -target-feature -Xclang +mte
my_ldflags += -Xclang -target-feature -Xclang +mte
my_asflags += -Xclang -target-feature -Xclang +mte
my_sanitize := $(filter-out memtag_stack,$(my_sanitize))
endif