Add $triplet-$prog symlinks to binutils

This commit is contained in:
fosslinux 2023-01-27 17:00:47 +11:00
parent 5509e6bb6e
commit 6bed629a81
1 changed files with 7 additions and 0 deletions

View File

@ -92,4 +92,11 @@ src_install() {
for dir in libiberty bfd opcodes libctf binutils gas gprof ld; do
make -C $dir tooldir=${PREFIX} DESTDIR="${DESTDIR}" install
done
# Create triplet symlinks
pushd "${DESTDIR}${PREFIX}/bin"
for f in *; do
ln -s "${PREFIX}/bin/${f}" "i386-unknown-linux-musl-${f}"
done
popd
}