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

Commit 0d53f4b1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Do not enable sanitizers on Windows"

parents 060c99c3 c6a3ddf8
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -12,10 +12,12 @@ my_global_sanitize :=
my_global_sanitize_diag :=
ifeq ($(my_clang),true)
  ifdef LOCAL_IS_HOST_MODULE
    ifneq ($(HOST_CROSS_OS),windows)
      my_global_sanitize := $(strip $(SANITIZE_HOST))

      # SANITIZE_HOST=true is a deprecated way to say SANITIZE_HOST=address.
      my_global_sanitize := $(subst true,address,$(my_global_sanitize))
    endif
  else
    my_global_sanitize := $(strip $(SANITIZE_TARGET))
    my_global_sanitize_diag := $(strip $(SANITIZE_TARGET_DIAG))