projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f2f88
)
usign: Activate LTO compile option
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 27 Oct 2019 21:38:53 +0000
(22:38 +0100)
committer
RISCi_ATOM
<bob@bobcall.me>
Sat, 7 Dec 2019 15:44:41 +0000
(10:44 -0500)
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>
(cherry picked from commit
6ffd8a8f92ab5337ab967ab2922d7de7f0480bc9
)
package/system/usign/Makefile
patch
|
blob
|
history
diff --git
a/package/system/usign/Makefile
b/package/system/usign/Makefile
index a59def34486059c18ae131e443a8701b47ce4659..0c5f66e30b9601f963f6d49523e674b09bb0c15d 100644
(file)
--- a/
package/system/usign/Makefile
+++ b/
package/system/usign/Makefile
@@
-30,6
+30,9
@@
define Package/usign
TITLE:=libreCMC signature verification utility
endef
+TARGET_CFLAGS += -flto
+TARGET_LDFLAGS += -flto=jobserver
+
CMAKE_OPTIONS += \
-DUSE_LIBUBOX=on