summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-23 13:32:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-23 13:32:29 +0200
commitf0164ab61f840a2cc822bc8cf22d14654d904ba2 (patch)
tree80ab95ca803683e3d72d8d8cc96fe267b5be2838 /toolchain/gcc
parentea08c787c691ebdee41cf61731649cf906bfdc9c (diff)
disable TLS in gcc for m68k, needs to be checked for eglibc/glibc later
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index ff8c3d509..b88bf6ccc 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -59,7 +59,9 @@ else
GCC_CONFOPTS+= --disable-lto
endif
-ifeq ($(ARCH),cris)
+ifeq ($(ARCH),m68k)
+GCC_CONFOPTS+= --disable-tls
+else if ($(ARCH),cris)
GCC_CONFOPTS+= --disable-tls
else
GCC_CONFOPTS+= --enable-tls