Browse Source

tree: use TARGET_{CFLAGS,LDFLAGS} instead of the package default

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
lilik-openwrt-22.03
Toni Uhlig 7 years ago
committed by Yousong Zhou
parent
commit
bab87417c9
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      utils/tree/Makefile

+ 4
- 0
utils/tree/Makefile View File

@ -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/


Loading…
Cancel
Save