diff options
| author | 2024-09-19 20:41:23 +0000 | |
|---|---|---|
| committer | 2024-09-19 20:41:23 +0000 | |
| commit | 9df15c91016caef19a705b0f25a91e9ed2d162e2 (patch) | |
| tree | 6c5294be715a4fd362b2c067b0235bbddf510079 | |
| parent | df1a87770a6072fc38d109e98c2e1e30846967db (diff) | |
| parent | 3340cf27f76a94b1536e66e5847b11e334c97b85 (diff) | |
Merge "Use -target-feature for MTE" into main
| -rw-r--r-- | core/config_sanitizers.mk | 6 |
1 files 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 |