mirror of
https://github.com/hexagonal-sun/moss-kernel.git
synced 2025-12-23 22:47:55 -05:00
scripts/deps/bash: fix build for later gcc
'bool' has become a reserved keyword in c23. If gcc is modern enough that this is the default standard, it results in an error. Default to c99 for the host compiler to fix the problem. Patch suggested by: @dec-mcgraw Fixes: #43
This commit is contained in:
committed by
Matthew Leach
parent
afaae627cf
commit
76624b8be0
@@ -14,7 +14,7 @@ if [ ! -d "bash-5.3" ]; then
|
||||
fi
|
||||
|
||||
pushd "bash-5.3" &>/dev/null || exit 1
|
||||
./configure --without-bash-malloc --enable-static-link --host="aarch64-linux-$stdlib"
|
||||
CFLAGS_FOR_BUILD="-std=c99" ./configure --without-bash-malloc --enable-static-link --host="aarch64-linux-$stdlib"
|
||||
make clean
|
||||
make
|
||||
mv bash ../bin/bash
|
||||
|
||||
Reference in New Issue
Block a user