forked from kiss-community/repo
Revert "binutils: build some binaries statically"
This reverts commit 27436d24cd
.
These changes broke the linker in certain cases.
This commit is contained in:
parent
8f48e76ca0
commit
6a49dbdf8b
@ -30,12 +30,4 @@ make configure-host
|
|||||||
make tooldir=/usr
|
make tooldir=/usr
|
||||||
make tooldir=/usr install
|
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"
|
ln -sf ld.bfd "$1/usr/bin/ld"
|
||||||
|
Loading…
Reference in New Issue
Block a user