Toolchain: lib gcc is wuild with mcmodel=large

This commit is contained in:
Bananymous 2023-05-30 07:59:41 +03:00
parent e8f820ef8d
commit 79315d318c
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ if [ ! -f ${PREFIX}/bin/${TARGET}-g++ ]; then
--with-sysroot="$SYSROOT" \
--enable-languages=c,c++
make -j $(nproc) all-gcc all-target-libgcc
make -j $(nproc) all-gcc
make -j $(nproc) all-target-libgcc CFLAGS_FOR_TARGET='-g -O2 -mcmodel=large -mno-red-zone'
make install-gcc install-target-libgcc
fi