From eb23f198ad1b6ee456327a06d2f24161ea16f263 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 14 Dec 2015 10:55:12 +0000 Subject: [PATCH] size improvemnets for libstdc++ --- dkppc/scripts/build-gcc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dkppc/scripts/build-gcc.sh b/dkppc/scripts/build-gcc.sh index 8b3b367..cfe1971 100755 --- a/dkppc/scripts/build-gcc.sh +++ b/dkppc/scripts/build-gcc.sh @@ -82,6 +82,8 @@ then --disable-nls --disable-shared --enable-threads --disable-multilib \ --disable-win32-registry \ --disable-libstdcxx-pch \ + --disable-libstdcxx-verbose \ + --enable-cxx-flags='-ffunction-sections -fdata-sections' \ --target=$target \ --with-newlib \ --with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \