2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 14:02:27 +00:00

Revert "binutils: build some binaries statically"

This reverts commit 27436d24cd.

These changes broke the linker in certain cases.
This commit is contained in:
Owen Rafferty 2022-07-15 01:52:49 -05:00
parent 8f48e76ca0
commit 6a49dbdf8b
No known key found for this signature in database
GPG Key ID: A68B10E2554DEBCB

View File

@ -30,12 +30,4 @@ make configure-host
make tooldir=/usr
make tooldir=/usr install
# These programs are safe to build statically.
cd binutils
make clean-binPROGRAMS
make LDFLAGS="$LDFLAGS -all-static"
for f in *; do
[ -e "$1/usr/bin/$f" ] && mv -f "$f" "$1/usr/bin/$f"
done
ln -sf ld.bfd "$1/usr/bin/ld"