Rebuild bash 5.1 with gcc.

This commit is contained in:
Andrius Štikonas 2021-03-21 00:14:15 +00:00
parent fbaa01d84c
commit 8cd8c0fe31
7 changed files with 34 additions and 2 deletions

View File

@ -525,6 +525,11 @@ GCC is a key component of the GNU toolchain and the standard compiler for most p
Only C frontend is built at this stage.
bash 5.1 (gcc)
==============
Rebuild bash with GCC.
musl 1.2.2
==========

View File

@ -0,0 +1 @@
62dd23127c9ccef9706f5a89baab25e4c5f74cb96ed9373843bc97252fbd4f4e /after/bin/bash

View File

@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later

25
sysa/bash-5.1/pass2.sh Executable file
View File

@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
# Remove bison generated files
rm y.tab.c y.tab.h
# Rebuild configure script
rm configure
autoconf-2.61
}
src_configure() {
./configure --prefix="${PREFIX}" \
--without-bash-malloc \
--disable-nls \
--build=i386-unknown-linux-gnu \
--enable-static-link
}
src_install() {
install bash ${bindir}
}

View File

@ -126,6 +126,6 @@ build help2man-1.36.4
build autoconf-2.61 stage1.sh
build autoconf-2.61 stage2.sh
build bash-5.1
build bash-5.1 pass1.sh checksums/pass1
exec bash run2.sh

View File

@ -14,7 +14,7 @@ build automake-1.9.6 stage2.sh
build gcc-4.0.4 stage1.sh
build musl-1.2.2
build bash-5.1 pass2.sh checksums/pass2
build musl-1.2.2