summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2017-11-15 13:26:06 -0600
committerTao Bao2017-11-15 13:34:26 -0600
commitf87d20404d624418d7b259f45b32831e54d31ba4 (patch)
tree0940c176df1d57e5fb6f5f24ec63d970aa025e7c
parentd4b6e25fdda0bd19d65ba3babbaac73a10cfeb8f (diff)
downloadplatform-bootable-recovery-f87d20404d624418d7b259f45b32831e54d31ba4.tar.gz
platform-bootable-recovery-f87d20404d624418d7b259f45b32831e54d31ba4.tar.xz
platform-bootable-recovery-f87d20404d624418d7b259f45b32831e54d31ba4.zip
minadbd: Remove two warning options.
'-Wimplicit-function-declaration' is not needed (it's for C89) and already enabled by -Wall. For '-Wno-missing-field-initializers', don't see any existing case that requires the flag. Test: `mmma -j bootable/recovery` on aosp_{bullhead,marlin}-userdebug. Change-Id: I46604723087ed9a7747f6cae31a95fc0074c6758
-rw-r--r--minadbd/Android.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/minadbd/Android.mk b/minadbd/Android.mk
index 3c9ab3a7..50e3b34e 100644
--- a/minadbd/Android.mk
+++ b/minadbd/Android.mk
@@ -16,10 +16,9 @@ LOCAL_PATH:= $(call my-dir)
16 16
17minadbd_cflags := \ 17minadbd_cflags := \
18 -Wall -Werror \ 18 -Wall -Werror \
19 -Wno-missing-field-initializers \
20 -DADB_HOST=0 \ 19 -DADB_HOST=0 \
21 20
22# libadbd (static library) 21# libminadbd (static library)
23# =============================== 22# ===============================
24include $(CLEAR_VARS) 23include $(CLEAR_VARS)
25 24
@@ -30,7 +29,6 @@ LOCAL_SRC_FILES := \
30 29
31LOCAL_MODULE := libminadbd 30LOCAL_MODULE := libminadbd
32LOCAL_CFLAGS := $(minadbd_cflags) 31LOCAL_CFLAGS := $(minadbd_cflags)
33LOCAL_CONLY_FLAGS := -Wimplicit-function-declaration
34LOCAL_C_INCLUDES := bootable/recovery system/core/adb 32LOCAL_C_INCLUDES := bootable/recovery system/core/adb
35LOCAL_WHOLE_STATIC_LIBRARIES := libadbd 33LOCAL_WHOLE_STATIC_LIBRARIES := libadbd
36LOCAL_STATIC_LIBRARIES := libcrypto libbase 34LOCAL_STATIC_LIBRARIES := libcrypto libbase