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)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 3 Oct 2022 15:40:26 +0000 (17:40 +0200)
commit29927e347a1b1c256ca39076f23dfc7bbeae798d
tree5b9dc91d7966c4b0e392eddb65d140521f7735dd
parentcd117f0596e01e1ced3dbdb046216cd7807bf6fb
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