From 2648f27d902453d57543430475039ccb2a8a5e50 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Tue, 25 Jun 2024 15:49:32 -0400 Subject: [PATCH] fix(llvm) omit as and ar symlinks which often interfere with binutils --- projects/llvm.org/package.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/projects/llvm.org/package.yml b/projects/llvm.org/package.yml index 0871193b..d3d0385a 100644 --- a/projects/llvm.org/package.yml +++ b/projects/llvm.org/package.yml @@ -54,13 +54,15 @@ 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 - ln -sf llvm-$x $x - done + - 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 # move linux libs into /lib