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/