X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e728404fccc4d24f4f6a193dcb0ca380e73b51f3..2c5998b74d8375e831b50be8d52f66a639e67d55:/package/wprobe/Makefile diff --git a/package/wprobe/Makefile b/package/wprobe/Makefile index 379aa37c2..536a85eb2 100644 --- a/package/wprobe/Makefile +++ b/package/wprobe/Makefile @@ -61,13 +61,14 @@ define Build/Prepare endef TARGET_CPPFLAGS := \ + -D_GNU_SOURCE \ -I$(STAGING_DIR)/usr/include/libnl-tiny \ $(TARGET_CPPFLAGS) ifdef CONFIG_PACKAGE_kmod-wprobe define Build/Compile/kmod $(MAKE) -C $(LINUX_DIR) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ + CROSS_COMPILE="$(KERNEL_CROSS)" \ ARCH="$(LINUX_KARCH)" \ SUBDIRS="$(PKG_BUILD_DIR)/kernel" \ KERNELDIR=$(LINUX_DIR) \