Let script/bundle-linux preserve RUSTFLAGS (#17202)
Example usage: RUSTFLAGS="--cfg gles" ./script/install-linux Release Notes: - N/A
This commit is contained in:
parent
03d8e54fd4
commit
c9b4c8c498
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ target_triple=${host_line#*: }
|
|||
script/generate-licenses
|
||||
|
||||
# Build binary in release mode
|
||||
export RUSTFLAGS="-C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
|
||||
export RUSTFLAGS="$RUSTFLAGS -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
|
||||
cargo build --release --target "${target_triple}" --package zed --package cli --package remote_server
|
||||
|
||||
# Strip the binary of all debug symbols
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue