fix toolchain build on modern systems

https://bugzilla.redhat.com/show_bug.cgi?id=476370
This commit is contained in:
dhewg 2022-12-19 18:31:08 +01:00
parent 0a804a8ae4
commit a32b8f6520
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ buildgcc() {
--disable-nls --disable-threads --disable-shared \
--disable-libmudflap --disable-libssp --disable-libgomp \
--disable-decimal-float \
--enable-checking=release && \
--enable-checking=release \
CFLAGS='-fgnu89-inline -g -O2' && \
nice $MAKE $MAKEOPTS && \
$MAKE install
) || die "Error building gcc for target $TARGET"