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

Commit 9df15c91 authored by Florian Mayer's avatar Florian Mayer Committed by Gerrit Code Review
Browse files

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

parents df1a8777 3340cf27
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