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

Commit 7768edad authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Enable ubsan check flag in build" am: 1907b990 am: fe3c6183 am:...

Merge "Enable ubsan check flag in build" am: 1907b990 am: fe3c6183 am: 5cbdaa4e am: 8a47bbc1
am: 4f04717d

Change-Id: I5a6319fd532634ca9c10339c09ee4bc912cfd9af
parents 9ec0eed2 4f04717d
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -287,12 +287,6 @@ ifneq ($(filter address,$(my_sanitize)),)
  endif
endif

ifneq ($(filter undefined,$(my_sanitize)),)
  ifndef LOCAL_IS_HOST_MODULE
    $(error ubsan is not yet supported on the target)
  endif
endif

ifneq ($(strip $(LOCAL_SANITIZE_RECOVER)),)
  recover_arg := $(subst $(space),$(comma),$(LOCAL_SANITIZE_RECOVER)),
  my_cflags += -fsanitize-recover=$(recover_arg)