Merge "Add Secure compilation flag to voice processing library"
This commit is contained in:
commit
bd7df3e87a
|
@ -49,6 +49,11 @@ LOCAL_CFLAGS += -Wno-shorten-64-to-32
|
|||
LOCAL_CFLAGS += -Wno-tautological-compare
|
||||
LOCAL_CFLAGS += -Wno-unused-function
|
||||
LOCAL_CFLAGS += -Wno-unused-local-typedef
|
||||
ifeq ($(TARGET_BOARD_AUTO),true)
|
||||
LOCAL_CFLAGS += -O2 -D_FORTIFY_SOURCE=2
|
||||
LOCAL_CFLAGS += -fstack-protector-strong
|
||||
endif
|
||||
|
||||
|
||||
ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),)
|
||||
LOCAL_SANITIZE := integer_overflow
|
||||
|
|
Loading…
Reference in New Issue