From 0c2e648a04f4e1c6757be7a9c9e8b587a1828df2 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 11 Jun 2018 13:27:09 +0100 Subject: [PATCH] add lto to languages --- dkarm-eabi/scripts/build-gcc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dkarm-eabi/scripts/build-gcc.sh b/dkarm-eabi/scripts/build-gcc.sh index bd2f3dd..f25781a 100755 --- a/dkarm-eabi/scripts/build-gcc.sh +++ b/dkarm-eabi/scripts/build-gcc.sh @@ -46,7 +46,7 @@ then CXXFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \ LDFLAGS_FOR_TARGET="" \ ../../gcc-$GCC_VER/configure \ - --enable-languages=c,c++ \ + --enable-languages=c,c++,lto \ --with-gnu-as --with-gnu-ld --with-gcc \ --with-march=armv4t\ --enable-cxx-flags='-ffunction-sections' \