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

Commit 997a6cd1 authored by Evgenii Stepanov's avatar Evgenii Stepanov Committed by Gerrit Code Review
Browse files

Merge "Apply SANITIZE_TARGET=safe-stack to 64 bit targets only."

parents 9c88e0bf 7dcb8b80
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -75,6 +75,12 @@ ifneq ($(filter thread,$(my_sanitize)),)
  endif
endif

ifneq ($(filter safe-stack,$(my_sanitize)),)
  ifeq ($(my_32_64_bit_suffix),32)
    my_sanitize := $(filter-out safe-stack,$(my_sanitize))
  endif
endif

# Undefined symbols can occur if a non-sanitized library links
# sanitized static libraries. That's OK, because the executable
# always depends on the ASan runtime library, which defines these