Skip to content

Commit a8c12c7

Browse files
committed
Link /rustroot/lib stuff for clang -m32 to see
1 parent c7bba72 commit a8c12c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh

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

0 commit comments

Comments
 (0)