mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
fix(llvm)
omit as and ar symlinks which often interfere with binutils
This commit is contained in:
parent
ad63fd5fd7
commit
2648f27d90
1 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue