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