mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-27 16:21:50 +01:00
app-shells/bash: Sync with Gentoo
It's from Gentoo commit c66b5a70ac6ffcc5b3dd20a283a0fae85d64fa05. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
3b7a9e1993
commit
ec835b704a
@ -175,7 +175,23 @@ src_configure() {
|
||||
unset -v YACC
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html
|
||||
export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17"
|
||||
|
||||
if use kernel_Hurd ; then
|
||||
# Necessary for cross-built bash for Hurd, otherwise
|
||||
# config.status generation at end of configure will hang
|
||||
# natively.
|
||||
#
|
||||
# https://lists.debian.org/debian-cross/2023/11/msg00000.html
|
||||
# https://lists.gnu.org/archive/html/bug-bash/2024-11/msg00202.html
|
||||
# https://lists.gnu.org/archive/html/bug-bash/2005-04/msg00074.html
|
||||
cat <<-EOF > builtins/psize.sh || die
|
||||
#!/bin/sh
|
||||
echo "#define PIPESIZE 16384"
|
||||
EOF
|
||||
chmod +x builtins/psize.sh || die
|
||||
fi
|
||||
fi
|
||||
|
||||
myconf=(
|
||||
|
||||
@ -178,7 +178,23 @@ src_configure() {
|
||||
unset -v YACC
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html
|
||||
export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17"
|
||||
|
||||
if use kernel_Hurd ; then
|
||||
# Necessary for cross-built bash for Hurd, otherwise
|
||||
# config.status generation at end of configure will hang
|
||||
# natively.
|
||||
#
|
||||
# https://lists.debian.org/debian-cross/2023/11/msg00000.html
|
||||
# https://lists.gnu.org/archive/html/bug-bash/2024-11/msg00202.html
|
||||
# https://lists.gnu.org/archive/html/bug-bash/2005-04/msg00074.html
|
||||
cat <<-EOF > builtins/psize.sh || die
|
||||
#!/bin/sh
|
||||
echo "#define PIPESIZE 16384"
|
||||
EOF
|
||||
chmod +x builtins/psize.sh || die
|
||||
fi
|
||||
fi
|
||||
|
||||
myconf=(
|
||||
|
||||
@ -178,7 +178,23 @@ src_configure() {
|
||||
unset -v YACC
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html
|
||||
export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17"
|
||||
|
||||
if use kernel_Hurd ; then
|
||||
# Necessary for cross-built bash for Hurd, otherwise
|
||||
# config.status generation at end of configure will hang
|
||||
# natively.
|
||||
#
|
||||
# https://lists.debian.org/debian-cross/2023/11/msg00000.html
|
||||
# https://lists.gnu.org/archive/html/bug-bash/2024-11/msg00202.html
|
||||
# https://lists.gnu.org/archive/html/bug-bash/2005-04/msg00074.html
|
||||
cat <<-EOF > builtins/psize.sh || die
|
||||
#!/bin/sh
|
||||
echo "#define PIPESIZE 16384"
|
||||
EOF
|
||||
chmod +x builtins/psize.sh || die
|
||||
fi
|
||||
fi
|
||||
|
||||
myconf=(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user