From: Stijn Tintel Date: Wed, 16 Mar 2022 00:06:35 +0000 (+0200) Subject: chrony: enable LTO X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3c503436d1b855304567b96178d8ccb2dac0cb8b;p=openwrt-packages.git chrony: enable LTO Size difference of the ipk on qoriq: * chrony: 718571 676886 * chrony-nts: 786960 757064 Signed-off-by: Stijn Tintel --- diff --git a/net/chrony/Makefile b/net/chrony/Makefile index b2b310371..a5350a097 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -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/