summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-12 12:22:15 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-12 12:22:15 +0200
commit5565d6ec5d55aa694626d9711e2bc1f11437202c (patch)
tree1ff601e816bc876f970f4951eb1206a03b8a105b /toolchain/gcc/Makefile
parent8385b482b998121623e516d362c32fb4cc71c3b5 (diff)
multilib list is only for x86_64 architecture
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index e14a4be7e..54169b8b9 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -34,8 +34,10 @@ GCC_CONFOPTS+= --disable-sjlj-exceptions
endif
ifeq ($(ADK_TARGET_WITH_MULTILIB),y)
-GCC_CONFOPTS+= --with-multilib-list=$(ADK_MULTILIB_TARGET) \
- --enable-multilib
+ifeq ($(ADK_LINUX_X86_64),y)
+GCC_CONFOPTS+= --with-multilib-list=$(ADK_MULTILIB_TARGET)
+endif
+GCC_CONFOPTS+= --enable-multilib
else
GCC_CONFOPTS+= --disable-biarch \
--disable-multilib