projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e926681
)
usign: Activate LTO compile option
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 27 Oct 2019 21:38:53 +0000
(22:38 +0100)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Fri, 8 Nov 2019 22:57:54 +0000
(23:57 +0100)
This decreases the size of the usign application by 16% on MIPS BE.
old:
24,597 /usr/bin/usign
new:
20,501 /usr/bin/usign
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/system/usign/Makefile
patch
|
blob
|
history
diff --git
a/package/system/usign/Makefile
b/package/system/usign/Makefile
index 836b1524d3136855befe92c3b435b77f5bb82ff9..ab7fda33a36beff61b86529ce5f39541c53ef5e1 100644
(file)
--- a/
package/system/usign/Makefile
+++ b/
package/system/usign/Makefile
@@
-30,6
+30,9
@@
define Package/usign
TITLE:=OpenWrt signature verification utility
endef
+TARGET_CFLAGS += -flto
+TARGET_LDFLAGS += -flto=jobserver
+
CMAKE_OPTIONS += \
-DUSE_LIBUBOX=on