Skip to content

Commit

Permalink
rust: use TARGET_LINKER as linker
Browse files Browse the repository at this point in the history
Signed-off-by: hingbong lo <[email protected]>
  • Loading branch information
hingbong authored and 1715173329 committed Sep 29, 2024
1 parent 24ab6e4 commit 77e9cd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lang/rust/rust-values.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 77e9cd3

Please sign in to comment.