1
0
mirror of https://github.com/cjdelisle/openwrt.git synced 2025-08-17 05:52:55 +00:00
Files
openwrt/rules.mk
Shiji Yang 17eeb6c3fa rules.mk: respect the empty CONFIG_HOST_FLAGS_OPT
Currently, the empty CONFIG_HOST_FLAGS_OPT will be overridden by
"-O2". Fix this issue by checking if its parent menuconfig symbol
CONFIG_OPTIMIZE_HOST_TOOLS was defined.

Fixes: e3bec5692c ("rules.mk: set default host tools GCC optimization level to -O2")
Reported-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18815
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-16 20:42:43 +02:00

17 KiB