summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 0ed8f077c..cbbc41e6b 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -62,6 +62,10 @@ GCC_CONFOPTS+= --disable-tls --disable-threads --disable-libatomic
endif
endif
+ifeq ($(ADK_TARGET_WITH_LT),y)
+GCC_CONFOPTS+= --disable-tls --disable-threads --disable-libatomic
+endif
+
ifeq ($(ADK_TARGET_UCLINUX)$(ADK_TARGET_USE_STATIC_LIBS),y)
GCC_FINAL_CONFOPTS+= --disable-shared
else