Browse Source

multilib list is only for x86_64 architecture

Waldemar Brodkorb 13 years ago
parent
commit
5565d6ec5d
1 changed files with 4 additions and 2 deletions
  1. 4 2
      toolchain/gcc/Makefile

+ 4 - 2
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