Link /rustroot/lib stuff for clang -m32 to see

This commit is contained in:
Josh Stone 2022-08-04 16:25:01 -07:00
parent c7bba72404
commit a8c12c7458

View File

@ -39,3 +39,8 @@ ln -s gcc /rustroot/bin/cc
cd ..
rm -rf gcc-build
rm -rf gcc-$GCC
# FIXME: clang doesn't find 32-bit libraries in /rustroot/lib,
# but it does look all the way under /rustroot/lib/[...]/32,
# so we can link stuff there to help it out.
ln /rustroot/lib/*.{a,so} -rst /rustroot/lib/gcc/x86_64-pc-linux-gnu/$GCC/32/