mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
rust: use TARGET_LINKER as linker
Signed-off-by: hingbong lo <hingbonglo@gmail.com>
This commit is contained in:
committed by
Tianling Shen
parent
24ab6e40dd
commit
77e9cd3989
@@ -104,3 +104,5 @@ CARGO_PKG_CONFIG_VARS= \
|
||||
TARGET_CFLAGS="$(TARGET_CFLAGS) $(RUSTC_CFLAGS)"
|
||||
|
||||
CARGO_PKG_PROFILE:=$(if $(CONFIG_DEBUG),dev,release)
|
||||
|
||||
CARGO_RUSTFLAGS+=-Clink-arg=-fuse-ld=$(TARGET_LINKER)
|
||||
|
||||
Reference in New Issue
Block a user