aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/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 /wpa_supplicant/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 'wpa_supplicant/Android.mk')
-rw-r--r--wpa_supplicant/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index c8fe1c2..f56267c 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -24,6 +24,9 @@ L_CFLAGS += -DVERSION_STR_POSTFIX=\"-$(PLATFORM_VERSION)\"
# Set Android log name
L_CFLAGS += -DANDROID_LOG_NAME=\"wpa_supplicant\"
+# Disable unused parameter warnings
+L_CFLAGS += -Wno-unused-parameter
+
# Disable roaming in wpa_supplicant
ifdef CONFIG_NO_ROAMING
L_CFLAGS += -DCONFIG_NO_ROAMING