From 844ec8aee59feefa2a5646050aa80b8a65b4bf13 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 8 Feb 2016 01:48:01 +0100 Subject: finetune gcc stage1 compile --- toolchain/gcc/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'toolchain') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index dd7b73c0b..89d87d69a 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -61,12 +61,15 @@ endif ifeq ($(ADK_TARGET_WITH_NPTL),y) GCC_FINAL_CONFOPTS:= --enable-tls --enable-threads --enable-libatomic +GCC_TLS_CONFOPTS:= --enable-tls endif ifeq ($(ADK_TARGET_WITH_LT),y) GCC_FINAL_CONFOPTS:= --disable-tls --enable-threads --disable-libatomic +GCC_TLS_CONFOPTS:= --disable-tls endif ifeq ($(ADK_TARGET_LIB_WITHOUT_THREADS)$(ADK_TARGET_WITHOUT_THREADS),y) GCC_FINAL_CONFOPTS:= --disable-tls --disable-threads --disable-libatomic +GCC_TLS_CONFOPTS:= --disable-tls endif ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS)$(ADK_TARGET_BINFMT_DSBT),y) @@ -235,9 +238,9 @@ endif CXXFLAGS="-O0 -g0 -fomit-frame-pointer" \ $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ + ${GCC_TLS_CONFOPTS} \ --enable-languages=c \ --with-newlib \ - --enable-tls \ --disable-shared \ --disable-threads \ --disable-multilib \ -- cgit v1.2.3