From: thepeople Date: Sat, 20 Feb 2010 04:51:10 +0000 (+0000) Subject: this patch fixes a build error described in ticket #6702. X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=9c6043cc793206e6f4c106d87546cac2aba1f02d;p=packages.git this patch fixes a build error described in ticket #6702. -Raphael git-svn-id: svn://svn.openwrt.org/openwrt/packages@19770 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/strace/Makefile b/utils/strace/Makefile index 4caa2e42f..5b096d2fc 100644 --- a/utils/strace/Makefile +++ b/utils/strace/Makefile @@ -40,12 +40,17 @@ A useful diagnostic, instructional, and debugging tool. Allows you to track what system calls a program makes while it is running. endef +# needed when compiling against Linux 2.4 CONFIGURE_VARS += \ ac_cv_header_linux_netlink_h=yes +# needed when compiling with an external toolchain TARGET_CFLAGS += \ -I$(LINUX_DIR)/include +MAKE_FLAGS := \ + CCOPT="$(TARGET_CFLAGS)" + define Package/strace/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/strace $(1)/usr/bin/