summaryrefslogtreecommitdiffstats
path: root/package/hostap-utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostap-utils/Makefile')
-rw-r--r--package/hostap-utils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostap-utils/Makefile b/package/hostap-utils/Makefile
index 7ed0fd9f5..bac0d3f10 100644
--- a/package/hostap-utils/Makefile
+++ b/package/hostap-utils/Makefile
@@ -28,7 +28,7 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -Wall" \
+ CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -Wall" \
all
endef