mirror of https://github.com/hak5/openwrt.git
parent
0f6846a4f0
commit
0f632264ec
|
@ -51,6 +51,7 @@ endef
|
|||
|
||||
TARGET_CPPFLAGS := \
|
||||
-I$(STAGING_DIR)/usr/include/libnl-tiny \
|
||||
-D_GNU_SOURCE \
|
||||
$(TARGET_CPPFLAGS)
|
||||
|
||||
MAKE_FLAGS += \
|
||||
|
|
|
@ -98,7 +98,8 @@ TARGET_CPPFLAGS := \
|
|||
$(TARGET_CPPFLAGS) \
|
||||
-I$(STAGING_DIR)/usr/include/madwifi \
|
||||
-I$(STAGING_DIR)/usr/include/mac80211 \
|
||||
-DCONFIG_LIBNL20
|
||||
-DCONFIG_LIBNL20 \
|
||||
-D_GNU_SOURCE
|
||||
|
||||
define Build/CompileTarget
|
||||
CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
|
||||
|
|
|
@ -37,7 +37,8 @@ TARGET_CPPFLAGS:= \
|
|||
-I$(STAGING_DIR)/usr/include/libnl-tiny \
|
||||
-I$(STAGING_DIR)/usr/include/mac80211 \
|
||||
$(TARGET_CPPFLAGS) \
|
||||
-DCONFIG_LIBNL20
|
||||
-DCONFIG_LIBNL20 \
|
||||
-D_GNU_SOURCE
|
||||
|
||||
MAKE_FLAGS += \
|
||||
CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
|
||||
|
|
Loading…
Reference in New Issue