forked from openkylin/platform_build
Use $(my_prefix)OS instead of HOST_CROSS_OS
The latter is not module-specific and prevents santizer configuration for all host modules. Test: mma HOST_SANITIZE=address hardware/google/apf Change-Id: I62a448973c1d6526e4b475f3288996e44c88fbc9
This commit is contained in:
parent
14add31780
commit
407b6aca28
|
@ -12,7 +12,7 @@ my_global_sanitize :=
|
|||
my_global_sanitize_diag :=
|
||||
ifeq ($(my_clang),true)
|
||||
ifdef LOCAL_IS_HOST_MODULE
|
||||
ifneq ($(HOST_CROSS_OS),windows)
|
||||
ifneq ($($(my_prefix)OS),windows)
|
||||
my_global_sanitize := $(strip $(SANITIZE_HOST))
|
||||
|
||||
# SANITIZE_HOST=true is a deprecated way to say SANITIZE_HOST=address.
|
||||
|
|
Loading…
Reference in New Issue