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

Commit 3340cf27 authored by Florian Mayer's avatar Florian Mayer
Browse files

Use -target-feature for MTE

This combines with other features.

Bug: 366222162
Change-Id: I74bab7e725eaa856d183987fa682f2ab0903ce70
parent 963298af
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 += -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