aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2014-04-15 00:06:02 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-24 09:15:32 (GMT)
commit9176ec066ec507e21bcbcc86c177e05e81478167 (patch)
treeeb87fbbcd0e909feb19f456c34146964bb89a528 /hostapd/Android.mk
parent2aa82e52da09211f6917be0fb268d12e99334e53 (diff)
downloadhostap-9176ec066ec507e21bcbcc86c177e05e81478167.zip
hostap-9176ec066ec507e21bcbcc86c177e05e81478167.tar.gz
hostap-9176ec066ec507e21bcbcc86c177e05e81478167.tar.bz2
Android: Disable unused parameter warnings
This avoids large number of undesired compiler warnings since Android build system is added -Wextra. Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 6db82f8..74c9b27 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -24,6 +24,9 @@ L_CFLAGS += -DVERSION_STR_POSTFIX=\"-$(PLATFORM_VERSION)\"
# Set Android log name
L_CFLAGS += -DANDROID_LOG_NAME=\"hostapd\"
+# Disable unused parameter warnings
+L_CFLAGS += -Wno-unused-parameter
+
ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
L_CFLAGS += -DANDROID_P2P
endif