From 95befbd94f3b7d748b291e655f9f3e43fcfe7474 Mon Sep 17 00:00:00 2001 From: Travis Kemen Date: Sat, 20 Feb 2010 04:51:10 +0000 Subject: [PATCH] this patch fixes a build error described in ticket #6702. -Raphael SVN-Revision: 19770 --- utils/strace/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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/ -- 2.30.2