mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 08:15:24 +01:00
Rebuild bash 5.1 with gcc.
This commit is contained in:
parent
fbaa01d84c
commit
8cd8c0fe31
7 changed files with 34 additions and 2 deletions
|
|
@ -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}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue