mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 15:48:45 +08:00
Add RUSTFLAGS again
This commit is contained in:
parent
7b9f586c37
commit
fe314d7b6a
@ -15,7 +15,10 @@ script = """
|
||||
DYNAMIC_INIT
|
||||
HOST_STRIP=$STRIP
|
||||
# Linker flags for stage2 compiler (host -> target)
|
||||
export LDFLAGS_x86_64_unknown_redox="${LDFLAGS}"
|
||||
export LDFLAGS_x86_64_unknown_redox="${LDFLAGS}" # LLVM
|
||||
export CARGO_TARGET_X86_64_UNKNOWN_REDOX_RUSTFLAGS="\
|
||||
-C link-arg=-L${COOKBOOK_SYSROOT}/lib \
|
||||
-C link-arg=-Wl,-rpath-link,${COOKBOOK_SYSROOT}/lib"
|
||||
# Don't poison the stage1 compiler (host -> host)
|
||||
unset AR AS CC CXX LD LDFLAGS NM OBJCOPY OBJDUMP RANLIB READELF RUSTFLAGS STRIP
|
||||
python3 "${COOKBOOK_SOURCE}/x.py" install \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user