mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-09 12:55:23 +01:00
start binutils
This commit is contained in:
parent
6a6c5acf1c
commit
21096f6ff2
5 changed files with 30 additions and 0 deletions
24
sysa/binutils-2.14/binutils-2.14.sh
Executable file
24
sysa/binutils-2.14/binutils-2.14.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_configure() {
|
||||
# TODO: use autoconf to regenerate configure
|
||||
|
||||
AR="tcc -ar" RANLIB="true" CC="tcc -D __GLIBC_MINOR__=6" \
|
||||
./configure \
|
||||
--disable-nls \
|
||||
--disable-shared \
|
||||
--disable-werror \
|
||||
--build=i386-unknown-linux \
|
||||
--host=i386-unknown-linux \
|
||||
--target=i386-unknown-linux \
|
||||
--with-sysroot=/after \
|
||||
--disable-64-bit-bfd
|
||||
|
||||
# TODO: Find a way to avoid these hacks
|
||||
sed -i '/#undef pid_t/d' libiberty/config.in
|
||||
sed -i '/#undef uintptr_t/d' libiberty/config.in
|
||||
sed -i 's/C_alloca/alloca/g' libiberty/alloca.c
|
||||
sed -i 's/C_alloca/alloca/g' include/libiberty.h
|
||||
}
|
||||
0
sysa/binutils-2.14/checksums
Normal file
0
sysa/binutils-2.14/checksums
Normal file
|
|
@ -79,4 +79,6 @@ build autoconf-2.13
|
|||
|
||||
build autoconf-2.12
|
||||
|
||||
build binutils-2.14
|
||||
|
||||
echo "Bootstrapping completed."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue