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

Commit a794b89f authored by Andreas Blaesius's avatar Andreas Blaesius Committed by Tim Schumacher
Browse files

Skip CVE_2017_13154: use a Boardflag instead C/C++ flag

C/C++ flags should be avoided in BoardConfig.mk / BoardConfigCommon.mk
if possible.

Change-Id: Id1a11e4b66019ec2ac373b114a8a153374c05895
parent 2497fe83
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -36,6 +36,10 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER)),true)
endif
endif

ifeq ($(BOARD_SKIP_CVE_2017_13154),true)
LOCAL_CFLAGS += -DSKIP_CVE_2017_13154
endif

LOCAL_MODULE:= libstagefright_omx
LOCAL_CFLAGS += -Werror -Wall
LOCAL_CLANG := true