]> git.ipfire.org Git - thirdparty/openwrt.git/commit
rules.mk: set default host tools GCC optimization level to -O2 18812/head
authorShiji Yang <yangshiji66@outlook.com>
Fri, 16 May 2025 10:56:36 +0000 (18:56 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 16 May 2025 11:16:15 +0000 (13:16 +0200)
commite3bec5692c50ff3b8001d4611c8eb57f54efb6b5
tree2524f634f3e6ae28715644bb7d86df897ae90fef
parentf60bbfa23fd11fa6e2d79ebeae28fe791cef5dfa
rules.mk: set default host tools GCC optimization level to -O2

This patch can help save over 60% of package build time. -O2
optimization level is the default value before the commit
e8b470139c78 ("tools: add options to optimize host binaries").

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18812
Signed-off-by: Robert Marko <robimarko@gmail.com>
rules.mk