summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-15 20:57:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-15 20:57:56 +0200
commite228dce45adc4f39671131dd0f0611e29ab85bf8 (patch)
treeedef8e22a8f58c666ae65174174a3fc760bfe2d8 /toolchain/gcc/Makefile
parent562a3446c4e13dc3c770ca86b062961d3dba4b31 (diff)
parentbae480656aac1ec7ad3c2582bd6efe431298bcee (diff)
Merge branch 'master' of 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)