mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-24 20:16:32 +01:00
Various GCC 4.0 regenerations
This commit is contained in:
parent
1ada7a101e
commit
2550cebc20
3 changed files with 22 additions and 6 deletions
|
|
@ -44,9 +44,18 @@ src_prepare() {
|
|||
libtoolize
|
||||
cp ../automake-1.16.3/lib/config.sub .
|
||||
|
||||
# Rebuild files generated by GCC build system
|
||||
rm gcc/c-parse.y libiberty/functions.texi
|
||||
rm libiberty/obstacks.texi
|
||||
touch libiberty/obstacks.texi
|
||||
|
||||
# Rebuild libcpp/ucnid.h
|
||||
rm libcpp/ucnid.h
|
||||
perl libcpp/ucnid.pl < libcpp/ucnid.tab > libcpp/ucnid.h
|
||||
|
||||
# Rebuild bison files
|
||||
# Workaround for bison being too new
|
||||
sed -i 's/YYLEX/yylex()/' gcc/c-parse.y
|
||||
sed -i 's/YYLEX/yylex()/' gcc/c-parse.in
|
||||
rm gcc/c-parse.c
|
||||
rm gcc/gengtype-yacc.c gcc/gengtype-yacc.h
|
||||
rm intl/plural.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue