Merge "Suppress unused-parameter/variable warnings in dnsmasq."
am: abfdd06910
* commit 'abfdd06910e2814b6db6198b40c070fa23f71f0e':
Suppress unused-parameter/variable warnings in dnsmasq.
Change-Id: I38bdaabe035b83f7cdddb2df275f8b5d9bc592f8
diff --git a/src/Android.mk b/src/Android.mk
index d64381c..fb8de68 100644
--- a/src/Android.mk
+++ b/src/Android.mk
@@ -10,7 +10,8 @@
LOCAL_C_INCLUDES := external/dnsmasq/src
-LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT -D_BSD_SOURCE
+LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT -D_BSD_SOURCE \
+ -Wno-unused-variable -Wno-unused-parameter -Werror
LOCAL_SYSTEM_SHARED_LIBRARIES := libc
LOCAL_SHARED_LIBRARIES := libcutils liblog