Skip to content

Commit

Permalink
Link /rustroot/lib stuff for clang -m32 to see
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Aug 4, 2022
1 parent c7bba72 commit a8c12c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit a8c12c7

Please sign in to comment.