package/rustc: prepare for musl-based platforms support
authorNathaniel Husted <nathaniel.husted@outlook.com>
Tue, 18 May 2021 20:54:30 +0000 (22:54 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 18 May 2021 21:19:47 +0000 (23:19 +0200)
commitcf30776057ef137365a3b4701ab89ed29df578db
tree2520486fa564eed1f8768a349e68431a02c15c29
parentd770ad74b16fc2ef5f57e75d2c42b33030f46f58
package/rustc: prepare for musl-based platforms support

The current rustc package only supports configurations based on glibc
and hardcodes this requirement. This patch prepares the addition of
support for musl-based platforms by using $(LIBC) instead of
hardcoding "gnu" as the C library specifier when defining
RUSTC_TARGET_NAME.

Signed-off-by: Nathaniel Husted <nathaniel.husted@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/rustc/rustc.mk