chroot-binutils: repair bootstrap build; drop bashism.
This commit is contained in:
parent
b594820048
commit
0fd6257912
1 changed files with 6 additions and 1 deletions
|
@ -10,12 +10,17 @@ license="GPL-3"
|
|||
distfiles="${KERNEL_SITE}/devel/binutils/binutils-$version.tar.xz"
|
||||
checksum=c2229d5d4067c782b67cfaf7f049acd8361407c0870991bc5430be5c548f6825
|
||||
|
||||
if [ "$IN_CHROOT" ]; then
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
hostmakedepends="flex perl"
|
||||
fi
|
||||
makedepends="zlib-devel"
|
||||
bootstrap=yes
|
||||
|
||||
pre_configure() {
|
||||
# Drop bashism!
|
||||
sed -e 's,source,\.,g' -i ld/scripttempl/elf.sc
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
|
||||
|
|
Loading…
Reference in a new issue