forked from openkylin/platform_build
[make] Disable CFI when building with HWASan.
Same as soong. This needs do match, otherwise, for example, CFI may be disable in a static library in soong, and left enabled in a shared library in make; that would not work as CFI only supports DSO granularity. Bug: 120508119, 112709969 Change-Id: I00d6b1c9c373bcb6804c135407c6eeae88b375b6 Test: hwasan build of master branch boots
This commit is contained in:
parent
5df29604b9
commit
88a95a35fa
|
@ -176,6 +176,7 @@ endif
|
|||
ifneq ($(filter hwaddress,$(my_sanitize)),)
|
||||
my_sanitize := $(filter-out address,$(my_sanitize))
|
||||
my_sanitize := $(filter-out thread,$(my_sanitize))
|
||||
my_sanitize := $(filter-out cfi,$(my_sanitize))
|
||||
endif
|
||||
|
||||
ifneq ($(filter hwaddress,$(my_sanitize)),)
|
||||
|
|
Loading…
Reference in New Issue