diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-02-08 01:48:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-02-08 01:49:04 +0100 |
commit | 844ec8aee59feefa2a5646050aa80b8a65b4bf13 (patch) | |
tree | d76118a8464396b2c29a92a5009d91012e000d00 | |
parent | df1abe05e4d97e1e0caae35a107f4b1a71ea9dff (diff) |
finetune gcc stage1 compile
-rw-r--r-- | toolchain/gcc/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 \ |