]> git.lizzy.rs Git - rust.git/blobdiff - src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh
Link /rustroot/lib stuff for clang -m32 to see
[rust.git] / src / ci / docker / host-x86_64 / dist-x86_64-linux / build-gcc.sh
index 7992ec3b991883718bd02999f92d173b2e908e4d..9932b2505662278b56d57749185fce2cb177e27c 100755 (executable)
@@ -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/