- toolchain: build target libs -Os

git-svn-id: http://moon:8086/svn/mips@121 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2017-01-22 14:53:21 +00:00
parent 273b7a6a79
commit dbc5c92e4b
+1
View File
@@ -171,6 +171,7 @@ if [ ! -e ./$SRC_GCC-build ]; then
echo Building $SRC_GCC
mkdir -p $SRC_GCC-build
cd $SRC_GCC-build
CFLAGS_FOR_TARGET="-Os" \
../$SRC_GCC/configure --target=$TARGET --prefix=$PREFIX --with-gmp=$PREFIX --with-mpfr=$PREFIX --with-mpc=$PREFIX --with-float=soft --with-newlib --verbose --enable-languages="c,c++" --with-gnu-as --with-gnu-ld || exit 1
make -j4 all || exit 1
make info || exit 1