Add $triplet-$prog symlinks to binutils
This commit is contained in:
parent
5509e6bb6e
commit
6bed629a81
|
@ -92,4 +92,11 @@ src_install() {
|
||||||
for dir in libiberty bfd opcodes libctf binutils gas gprof ld; do
|
for dir in libiberty bfd opcodes libctf binutils gas gprof ld; do
|
||||||
make -C $dir tooldir=${PREFIX} DESTDIR="${DESTDIR}" install
|
make -C $dir tooldir=${PREFIX} DESTDIR="${DESTDIR}" install
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Create triplet symlinks
|
||||||
|
pushd "${DESTDIR}${PREFIX}/bin"
|
||||||
|
for f in *; do
|
||||||
|
ln -s "${PREFIX}/bin/${f}" "i386-unknown-linux-musl-${f}"
|
||||||
|
done
|
||||||
|
popd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue