fix(llvm)

omit as and ar symlinks which often interfere with binutils
This commit is contained in:
Jacob Heider 2024-06-25 15:49:32 -04:00
parent ad63fd5fd7
commit 2648f27d90
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -54,13 +54,15 @@ build:
# other tools simply expect these symlinks and often fail without them # other tools simply expect these symlinks and often fail without them
# NOTE forcing symlinks because we build with ourselves and sometimes that # NOTE forcing symlinks because we build with ourselves and sometimes that
# means we're building with the exact same version FIXME # means we're building with the exact same version FIXME
- run: | - run:
ln -sf clang cc - ln -sf clang cc
ln -sf clang++ c++ - ln -sf clang++ c++
ln -sf clang-cpp cpp - ln -sf clang-cpp cpp
for x in ar as nm objcopy ranlib readelf strings strip; do # omitting ar and as as these often mess up gnu.org/gcc builds
ln -sf llvm-$x $x - |
done for x in nm objcopy ranlib readelf strings strip; do
ln -sf llvm-$x $x
done
working-directory: ${{prefix}}/bin working-directory: ${{prefix}}/bin
# move linux libs into /lib # move linux libs into /lib