diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-29 21:22:06 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-30 07:10:08 +0200 |
commit | 5cdeaed94f4d6aa01f26ea0385c7cc693d7ad62f (patch) | |
tree | 491cb165d8650c519241733eabee22898345df80 /toolchain/gcc/Makefile | |
parent | 05b29ea02f064fe6fed5e4b3548a6488808d6ed7 (diff) |
start adding architectures for uClibc without NPTL/TLS
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r-- | toolchain/gcc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 1c95a2f93..46c272c96 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -21,7 +21,6 @@ GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \ --disable-__cxa_atexit \ --with-gnu-ld \ --with-gnu-as \ - --enable-tls \ --disable-libsanitizer \ --disable-install-libiberty \ --disable-libitm \ @@ -39,6 +38,12 @@ GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \ GCC_FINAL_CONFOPTS:= +ifneq ($(ADK_TARGET_WITH_NPTL),) +GCC_CONFOPTS+= --enable-tls --enable-threads --enable-libatomic +else +GCC_CONFOPTS+= --disable-tls --disable-threads --disable-libatomic +endif + ifneq ($(ADK_LINUX_XTENSA),y) GCC_FINAL_CONFOPTS+= --enable-cxx-flags='$(TARGET_CXXFLAGS)' endif |