Browse Source

chrony: enable LTO

Size difference of the ipk on qoriq:
* chrony:	718571	676886
* chrony-nts:	786960	757064

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
lilik-openwrt-22.03
Stijn Tintel 3 years ago
committed by Rosen Penev
parent
commit
3c503436d1
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      net/chrony/Makefile

+ 3
- 0
net/chrony/Makefile View File

@ -79,6 +79,9 @@ CONFIGURE_ARGS+= \
CONFIGURE_VARS+=CPPFLAGS=-DNDEBUG CONFIGURE_VARS+=CPPFLAGS=-DNDEBUG
TARGET_CFLAGS += -flto
TARGET_LDFLAGS += -flto
define Package/chrony/install define Package/chrony/install
$(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/usr/sbin/


Loading…
Cancel
Save