mtd: Activate LTO compile option
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Oct 2019 21:32:59 +0000 (22:32 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 29 Nov 2019 23:18:40 +0000 (00:18 +0100)
commit5cb845ebfedb57716d8694026b9d3f3a2638d2bf
treed5502c21baf3d10fe5a432f27bcf536a0503d00e
parentc38074de929e6f7c089e2cb7f81746ba90ddf16b
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