diff options
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 |