summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-12 15:05:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-12 15:05:37 +0200
commit6d04627eb2a39f7178d686a2dc2e2f8cf1391069 (patch)
tree24395ad6511e5e339c8198fcf4af3640b37e8a1e /toolchain/gcc
parent5ae07d502ef20c6144f54ec0f860639531f20aa4 (diff)
add lto support to first stage compiler
Diffstat (limited to 'toolchain/gcc')
-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