summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index ac0209278..f6033d208 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -75,9 +75,9 @@ GCC_FINAL_CONFOPTS+= --disable-libssp
endif
ifeq ($(ADK_TOOLCHAIN_WITH_LTO),y)
-GCC_FINAL_CONFOPTS+= --enable-lto
+GCC_CONFOPTS+= --enable-lto
else
-GCC_FINAL_CONFOPTS+= --disable-lto
+GCC_CONFOPTS+= --disable-lto
endif
ifeq ($(ADK_LINUX_PPC),y)
@@ -152,7 +152,6 @@ endif
${GCC_CONFOPTS} \
--enable-languages=c \
--disable-multilib \
- --disable-lto \
--disable-libssp \
--disable-shared \
--without-headers