From: jow Date: Wed, 17 Feb 2010 22:43:09 +0000 (+0000) Subject: [packages] strace: fix compile with external toolchain by adding kernel include dir... X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=012b2242406a0ad64185310032b91c3f3d34207b;p=packages.git [packages] strace: fix compile with external toolchain by adding kernel include dir to cflags (#6695) git-svn-id: svn://svn.openwrt.org/openwrt/packages@19693 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/strace/Makefile b/utils/strace/Makefile index 486d5dacc..085dda66c 100644 --- a/utils/strace/Makefile +++ b/utils/strace/Makefile @@ -6,6 +6,7 @@ # include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=strace PKG_RELEASE:=2 @@ -29,6 +30,9 @@ include $(INCLUDE_DIR)/package.mk CONFIGURE_VARS += \ ac_cv_header_linux_netlink_h=yes +TARGET_CFLAGS += \ + -I$(LINUX_DIR)/include + define Package/strace SECTION:=utils CATEGORY:=Utilities