mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
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>
This commit is contained in:
parent
2aa82e52da
commit
9176ec066e
@ -24,6 +24,9 @@ L_CFLAGS += -DVERSION_STR_POSTFIX=\"-$(PLATFORM_VERSION)\"
|
|||||||
# Set Android log name
|
# Set Android log name
|
||||||
L_CFLAGS += -DANDROID_LOG_NAME=\"hostapd\"
|
L_CFLAGS += -DANDROID_LOG_NAME=\"hostapd\"
|
||||||
|
|
||||||
|
# Disable unused parameter warnings
|
||||||
|
L_CFLAGS += -Wno-unused-parameter
|
||||||
|
|
||||||
ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
|
ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
|
||||||
L_CFLAGS += -DANDROID_P2P
|
L_CFLAGS += -DANDROID_P2P
|
||||||
endif
|
endif
|
||||||
|
@ -24,6 +24,9 @@ L_CFLAGS += -DVERSION_STR_POSTFIX=\"-$(PLATFORM_VERSION)\"
|
|||||||
# Set Android log name
|
# Set Android log name
|
||||||
L_CFLAGS += -DANDROID_LOG_NAME=\"wpa_supplicant\"
|
L_CFLAGS += -DANDROID_LOG_NAME=\"wpa_supplicant\"
|
||||||
|
|
||||||
|
# Disable unused parameter warnings
|
||||||
|
L_CFLAGS += -Wno-unused-parameter
|
||||||
|
|
||||||
# Disable roaming in wpa_supplicant
|
# Disable roaming in wpa_supplicant
|
||||||
ifdef CONFIG_NO_ROAMING
|
ifdef CONFIG_NO_ROAMING
|
||||||
L_CFLAGS += -DCONFIG_NO_ROAMING
|
L_CFLAGS += -DCONFIG_NO_ROAMING
|
||||||
|
Loading…
Reference in New Issue
Block a user