From dbc5c92e4b53338fdc4967f0ecbe4409a0b63ef4 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 22 Jan 2017 14:53:21 +0000 Subject: [PATCH] - toolchain: build target libs -Os git-svn-id: http://moon:8086/svn/mips@121 a8ebac50-d88d-4704-bea3-6648445a41b3 --- toolchain/make.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/make.sh b/toolchain/make.sh index 7c98218..4eb79f2 100644 --- a/toolchain/make.sh +++ b/toolchain/make.sh @@ -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