From bab87417c901d0804a8d34ca83d13eef61fa0ff6 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Fri, 2 Mar 2018 18:37:42 +0100 Subject: [PATCH] tree: use TARGET_{CFLAGS,LDFLAGS} instead of the package default Signed-off-by: Toni Uhlig --- utils/tree/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/tree/Makefile b/utils/tree/Makefile index b7ff3d438a..c6d5654b5d 100644 --- a/utils/tree/Makefile +++ b/utils/tree/Makefile @@ -25,6 +25,10 @@ define Package/tree DEPENDS:=+libc +libgcc endef +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" + define Package/tree/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/tree $(1)/usr/sbin/ -- 2.30.2