From fe67d8f1f22106bcc6634652ea1a5303e406f639 Mon Sep 17 00:00:00 2001 From: Evgenii Stepanov Date: Mon, 7 Oct 2024 23:14:20 +0000 Subject: [PATCH] Revert^2 "Use -target-feature for MTE" This reverts commit 32721f125b1ed0db3fbd434c2412dcf1f1e146e9. Reason for revert: RBE workaround landed Change-Id: I318f1a429fa6e13731555e252c7b6bdf81938f44 --- core/config_sanitizers.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/config_sanitizers.mk b/core/config_sanitizers.mk index ab2d5c1ddf..c0f2c6893f 100644 --- a/core/config_sanitizers.mk +++ b/core/config_sanitizers.mk @@ -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