X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6f2c5c53e8bd71563c3968bf0c81f4d8a388e687..e211311b517b1e6d75ff70cf593c0b65bfdf239d:/package/wprobe/Makefile

diff --git a/package/wprobe/Makefile b/package/wprobe/Makefile
index 7b49b6598..fe96512e2 100644
--- a/package/wprobe/Makefile
+++ b/package/wprobe/Makefile
@@ -59,9 +59,9 @@ define Build/Prepare
 	$(CP) src/* $(PKG_BUILD_DIR)/
 endef
 
-TARGET_CFLAGS += \
+TARGET_CPPFLAGS := \
 	-I$(STAGING_DIR)/usr/include/libnl-tiny \
-	-I$(STAGING_DIR)/usr/include
+	$(TARGET_CPPFLAGS)
 
 ifdef CONFIG_PACKAGE_kmod-wprobe
   define Build/Compile/kmod