projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51550d1
)
chrony: enable LTO
author
Stijn Tintel
<stijn@linux-ipv6.be>
Wed, 16 Mar 2022 00:06:35 +0000
(
02:06
+0200)
committer
Rosen Penev
<rosenp@gmail.com>
Thu, 17 Mar 2022 02:35:01 +0000
(19:35 -0700)
Size difference of the ipk on qoriq:
* chrony: 718571 676886
* chrony-nts: 786960 757064
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
net/chrony/Makefile
patch
|
blob
|
history
diff --git
a/net/chrony/Makefile
b/net/chrony/Makefile
index b2b310371d72a7f24a95c3f303d76d461cd234c7..a5350a09797ddd00426feb5ee1fbe22f0e4cefbe 100644
(file)
--- 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/