mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-binutils.git
synced 2025-01-05 08:23:37 +01:00
build: touch intl/plural.c to work around known bug
This commit is contained in:
parent
75f209c4c9
commit
12ec54c78e
2 changed files with 7 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -6,7 +6,7 @@
|
|||
source util.sh
|
||||
cd build
|
||||
|
||||
# Number of processor core
|
||||
# Number of processor cores
|
||||
if [[ $(uname) == "OpenBSD" ]]; then
|
||||
cores=$(sysctl -n hw.ncpu)
|
||||
else
|
||||
|
|
|
@ -91,6 +91,12 @@ fi
|
|||
echo "$TAG Extracting $ARCHIVE..."
|
||||
unxz -c < $ARCHIVE | tar -xf -
|
||||
|
||||
# Touch intl/plural.c to avoid regenerating it from intl/plural.y with recent
|
||||
# versions of bison, which is subject to the following known bug.
|
||||
# * https://sourceware.org/bugzilla/show_bug.cgi?id=22941
|
||||
# * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008
|
||||
touch binutils-$VERSION/intl/plural.c
|
||||
|
||||
# Create build folder
|
||||
|
||||
[[ -d "build" ]] && rm -rf build
|
||||
|
|
Loading…
Reference in a new issue