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, 24 Jul 2022 17:53:43 +0000 (19:53 +0200)
commit2555ffb4536e2727465e9a0d426ad3c4f1ef003a
tree2816b61d2d07234a9c816dfe6fc9a81bf42cb8f1
parent0f301b0b1d7ca4b5fe290a72f0434525405f5a26
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>
rules.mk