summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-23 14:41:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-23 14:41:28 +0200
commitafeecde92280c6ee0f8e8cfe5d631db039ab5c45 (patch)
tree54a8f5666278ec7ddcb09e7f73f355c35c953311 /toolchain/gcc
parente6334e379eee65b8c543af4474557904b4965aba (diff)
hopefully get it right with teh if else construct
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 b88bf6ccc..634bea2f1 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -61,11 +61,13 @@ endif
ifeq ($(ARCH),m68k)
GCC_CONFOPTS+= --disable-tls
-else if ($(ARCH),cris)
+else
+if ($(ARCH),cris)
GCC_CONFOPTS+= --disable-tls
else
GCC_CONFOPTS+= --enable-tls
endif
+endif
ifeq ($(ARCH),powerpc)
ifeq ($(ADK_TARGET_LIBC),musl)