summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-17 13:58:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-17 13:58:30 +0200
commit88dd48f85bc6191e990650613c1cea87db978485 (patch)
treeb0163c92c387734a72705410e8111c84d87e3d57 /toolchain/gcc/Makefile
parentf043b8522e55308488448593bb4997614732a30a (diff)
parent59161fbfcb5c72b28491056f85785528f3e444f1 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index d09264718..deef63a5c 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -33,11 +33,16 @@ else
GCC_CONFOPTS+= --disable-sjlj-exceptions
endif
+ifeq ($(ADK_LINUX_SH)$(ADK_LINUX_X86_64),)
+GCC_CONFOPTS+= --disable-biarch --disable-multilib
+endif
ifeq ($(ADK_LINUX_SH),y)
GCC_CONFOPTS+= --with-multilib-list=m4,m4-nofpu
-else
-GCC_CONFOPTS+= --disable-biarch \
- --disable-multilib
+endif
+ifeq ($(ADK_LINUX_X86_64),y)
+ifeq ($(ADK_x32),y)
+GCC_CONFOPTS+= --with-multilib-list=mx32
+endif
endif
ifeq ($(ADK_TOOLCHAIN_GCC_SSP),y)