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:
parent
51550d1415
commit
3c503436d1
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue