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

Commit 2a0ef42a authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "Use -target-feature for MTE" into main

parents 1269e684 f2c78add
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