mirror of https://github.com/hak5/openwrt.git
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>
(cherry picked from commit 6ffd8a8f92
)
openwrt-19.07
parent
1fc05c3115
commit
a4d798e8dd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue