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>
This commit is contained in:
Stijn Tintel 2022-03-16 02:06:35 +02:00 committed by Rosen Penev
parent 51550d1415
commit 3c503436d1

View file

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