X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6f2c5c53e8bd71563c3968bf0c81f4d8a388e687..f34c09e21cf3eef6d476e02c251a8e4be7c2cf13:/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