diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-05 10:42:39 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-05 19:35:22 +0100 |
commit | 91c96ee1dd60781fb6990c5378e48d8e0aef1c18 (patch) | |
tree | 19fead4198f43fe1dcea788801af47aa71d1e173 /toolchain/gcc/Makefile | |
parent | 01cd87aa87d783c1a1ea00a6b1e56d3a07d45f96 (diff) |
support non-thread build
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r-- | toolchain/gcc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index b27497e87..664f45c70 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -53,11 +53,13 @@ GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \ GCC_FINAL_CONFOPTS:= -ifneq ($(ADK_TARGET_WITH_NPTL),) +ifeq ($(ADK_TARGET_WITH_NPTL),y) +ifeq ($(ADK_TARGET_LIB_WITHOUT_THREADS),) GCC_CONFOPTS+= --enable-tls --enable-threads --enable-libatomic else GCC_CONFOPTS+= --disable-tls --disable-threads --disable-libatomic endif +endif ifeq ($(ADK_TARGET_UCLINUX)$(ADK_TARGET_USE_STATIC_LIBS),y) GCC_FINAL_CONFOPTS+= --disable-shared |