From 3c503436d1b855304567b96178d8ccb2dac0cb8b Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Wed, 16 Mar 2022 02:06:35 +0200 Subject: [PATCH] chrony: enable LTO Size difference of the ipk on qoriq: * chrony: 718571 676886 * chrony-nts: 786960 757064 Signed-off-by: Stijn Tintel --- net/chrony/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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/