[PATCH] Android: Fix CFLAGS -> L_CFLAGS

Dmitry Shmidt dimitrysh
Tue Nov 5 16:45:35 PST 2013


Signed-off-by: Dmitry Shmidt <dimitrysh at google.com>
---
 hostapd/Android.mk        | 2 +-
 wpa_supplicant/Android.mk | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 6e4404f..c355723 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -212,7 +212,7 @@ NEED_DH_GROUPS=y
 endif
 
 ifdef CONFIG_WNM
-CFLAGS += -DCONFIG_WNM
+L_CFLAGS += -DCONFIG_WNM
 OBJS += src/ap/wnm_ap.c
 endif
 
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 89f9ee3..e3850d2 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -1096,7 +1096,7 @@ endif
 ifdef NEED_AES_OMAC1
 NEED_AES_ENC=y
 ifdef CONFIG_OPENSSL_CMAC
-CFLAGS += -DCONFIG_OPENSSL_CMAC
+L_CFLAGS += -DCONFIG_OPENSSL_CMAC
 else
 AESOBJS += src/crypto/aes-omac1.c
 endif
@@ -1401,7 +1401,7 @@ NEED_AUTOSCAN=y
 endif
 
 ifdef CONFIG_AUTOSCAN_PERIODIC
-CFLAGS += -DCONFIG_AUTOSCAN_PERIODIC
+L_CFLAGS += -DCONFIG_AUTOSCAN_PERIODIC
 OBJS += autoscan_periodic.c
 NEED_AUTOSCAN=y
 endif
-- 
1.8.4.1




More information about the Hostap mailing list