mirror of
https://codeberg.org/kiss-community/repo
synced 2025-04-01 10:42:52 -06:00
rust: drop KISS_ROOT usage
This commit is contained in:
parent
955c676064
commit
0280837b03
@ -78,7 +78,8 @@ EOF
|
|||||||
# Workaround to get Rust to build in llvm-only environments.
|
# Workaround to get Rust to build in llvm-only environments.
|
||||||
# libgcc_s.so is needed for Rust's bootstrap binaries, on llvm-only systems
|
# libgcc_s.so is needed for Rust's bootstrap binaries, on llvm-only systems
|
||||||
# this library does not exist. This hack creates it as alias to libunwind.
|
# this library does not exist. This hack creates it as alias to libunwind.
|
||||||
case $("$CC" -print-file-name=libunwind.so) in */*)
|
libunwind_path=$("$CC" -print-file-name=libunwind.so)
|
||||||
|
case $libunwind_path in */*)
|
||||||
printf 'llvm-libunwind = "system"\n' >> config.toml
|
printf 'llvm-libunwind = "system"\n' >> config.toml
|
||||||
|
|
||||||
mkdir -p libgcc
|
mkdir -p libgcc
|
||||||
@ -86,7 +87,7 @@ case $("$CC" -print-file-name=libunwind.so) in */*)
|
|||||||
printf 'INPUT(-lunwind)\n' > \
|
printf 'INPUT(-lunwind)\n' > \
|
||||||
libgcc/libgcc_s.so
|
libgcc/libgcc_s.so
|
||||||
|
|
||||||
ln -sf "$KISS_ROOT/usr/lib/libunwind.so.1" \
|
ln -sf "$libunwind_path" \
|
||||||
libgcc/libgcc_s.so.1
|
libgcc/libgcc_s.so.1
|
||||||
|
|
||||||
export \
|
export \
|
||||||
|
Loading…
Reference in New Issue
Block a user