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

Commit 064d91c4 authored by Elvis Chien's avatar Elvis Chien
Browse files

Allow PRODUCT_CFI_INCLUDE_PATHS to work with 32-bit builds

CFI has been enabled for 32-bit builds but this option
still only works for 64-bit builds

Bug: 179233410

Change-Id: I3a9fed728489021f6c062ad45082b0a2705cec51
parent b2233cf1
Loading
Loading
Loading
Loading
+11 −13
Original line number Diff line number Diff line
@@ -115,9 +115,8 @@ ifeq ($(LOCAL_SANITIZE),never)
  my_sanitize_diag :=
endif

# Enable CFI in included paths (for Arm64 only).
# Enable CFI in included paths.
ifeq ($(filter cfi, $(my_sanitize)),)
  ifneq ($(filter arm64,$(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)),)
  combined_include_paths := $(CFI_INCLUDE_PATHS) \
                            $(PRODUCT_CFI_INCLUDE_PATHS)
  combined_exclude_paths := $(CFI_EXCLUDE_PATHS) \
@@ -131,7 +130,6 @@ ifeq ($(filter cfi, $(my_sanitize)),)
    endif
  endif
endif
endif

# Enable memtag_heap in included paths (for Arm64 only).
ifeq ($(filter memtag_heap, $(my_sanitize)),)