usign: Activate LTO compile option

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>
master
Hauke Mehrtens 2019-10-27 22:38:53 +01:00
parent e926681387
commit 6ffd8a8f92
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ define Package/usign
TITLE:=OpenWrt signature verification utility TITLE:=OpenWrt signature verification utility
endef endef
TARGET_CFLAGS += -flto
TARGET_LDFLAGS += -flto=jobserver
CMAKE_OPTIONS += \ CMAKE_OPTIONS += \
-DUSE_LIBUBOX=on -DUSE_LIBUBOX=on