Skip to content
Commit b6378631 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

package/pkg-cargo.mk: use CARGO_TARGET_<target>_LINKER instead of cargo config file

package/rustc/rustc.mk produces a config file in $(CARGO_HOME) that
points to the linker. We can simplify that by using the
CARGO_TARGET_<target>_LINKER environment variable.

This will also fix problems when host == target, where the target
linker gets picked up incorrectly.

Fixes:

  http://autobuild.buildroot.net/results/2183f1835f2ef553e45e83959910205127b2b259/



Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@bootlin.com>
parent 91a5a2d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment