mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 21:14:32 +04:00
tree: use TARGET_{CFLAGS,LDFLAGS} instead of the package default
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -25,6 +25,10 @@ define Package/tree
|
|||||||
DEPENDS:=+libc +libgcc
|
DEPENDS:=+libc +libgcc
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
MAKE_FLAGS += \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
||||||
|
|
||||||
define Package/tree/install
|
define Package/tree/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tree $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tree $(1)/usr/sbin/
|
||||||
|
|||||||
Reference in New Issue
Block a user