summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc')
-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