summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-23 15:52:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-23 15:52:11 +0200
commitf082cffba0eac8316ec58164ee215e75c8a364ed (patch)
tree8c935274d3b58a5923bb1d1636d0c2933ad02a1c /toolchain/gcc
parent4bbac96d33fbec7707fd580a47a27ceec361987f (diff)
parentf771c23af1b3ca79359e6422308a0d402ffdef92 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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..775f871c1 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
+ifeq ($(ARCH),cris)
GCC_CONFOPTS+= --disable-tls
else
GCC_CONFOPTS+= --enable-tls
endif
+endif
ifeq ($(ARCH),powerpc)
ifeq ($(ADK_TARGET_LIBC),musl)