Android.mk: Allow building in AOSP source tree

AOSP is treating all warnings as errors. Allow these specific warnings through.
pull/63/head
Christopher McClellan 2018-01-16 09:59:07 -05:00 committed by Cheetah Team
parent 6bbcf9d90c
commit 4664e69ca1
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,11 @@ LOCAL_PATH := $(call my-dir)
PRIVATE_LOCAL_CFLAGS := -O2 -g -W -Wall \
-DSO_RXQ_OVFL=40 \
-DPF_CAN=29 \
-DAF_CAN=PF_CAN
-DAF_CAN=PF_CAN \
-Wno-error=unused-parameter \
-Wno-error=sign-compare \
-Wno-error=pointer-arith \
-Wno-error=address-of-packed-member
#
# canlib