rules_mk: use gcc versions for external toolchain
authorVincent Wiemann <vincent.wiemann@ironai.com>
Mon, 28 Dec 2020 15:00:13 +0000 (16:00 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 4 Dec 2022 15:07:33 +0000 (16:07 +0100)
commit56fd8355b078d8c9e1eb0bc0ea20900e7b46fe93
tree370e647776ac5e8b8a66186d66c24677d1824bb3
parent654e0242e426423409a704bfc5f72b64ebd8d283
rules_mk: use gcc versions for external toolchain

When using the OpenWrt toolchain as an external toolchain the build
failed due to missing LTO support. By choosing the GCC wrappers of
the tools this commit makes sure that the LTO-enabled executables
are being used.

Signed-off-by: Vincent Wiemann <vincent.wiemann@ironai.com>
[ wrap the commit description to 72 char ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 2555ffb4536e2727465e9a0d426ad3c4f1ef003a)
rules.mk