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

@ -1,25 +0,0 @@
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
#
# 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() {
CC=tcc CPPFLAGS="-D HAVE_ALLOCA_H" \
./configure --prefix="${PREFIX}" \
--without-bash-malloc \
--disable-nls \
--build=i386-unknown-linux-gnu \
--enable-static-link
}
src_install() {
install bash ${bindir}
}