Disable macro redefined warnings.
The new kernel headers do:
#define __bitwise __bitwise__
However, the code redefines __bitwise without undef'ing it first.
This is a temporary fix, b/35721782 filed to fix this.
Change-Id: Idd8d00737a369fbad89c35ca6a647f33d5ace3ae
Test: Builds without warningers/errors.
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 71e08e7..3f42fe4 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -25,6 +25,9 @@
# Disable unused parameter warnings
L_CFLAGS += -Wno-unused-parameter
+# Disable redefined macro warnings
+L_CFLAGS += -Wno-macro-redefined
+
# Set Android extended P2P functionality
L_CFLAGS += -DANDROID_P2P