mtd: Activate LTO compile option
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Oct 2019 21:32:59 +0000 (22:32 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Sat, 7 Dec 2019 15:44:19 +0000 (10:44 -0500)
commit882a219da7a75d28cff949a1f96e7cd39a7f57dd
tree1b30777e630ea1ddbdf88d72b512b51a867f7add
parentc51cc59461d1f53b19717c6c38dbeab81a7b7d4e
mtd: Activate LTO compile option

This decreases the size of the mtd application by 25% on MIPS BE.

old:
20,597 /sbin/mtd

new:
16,421 /sbin/mtd

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 1eb34b7287ed97ad1e2ae60a436babbb5c68076f)
package/system/mtd/Makefile