summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-25 11:33:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-25 11:33:10 +0100
commit5affee4da52a00e486e3dbfd36e0c2363e706f91 (patch)
tree7b7e39a2fd081742dc3964b75d72089618c7c92d /toolchain
parent6e8780e7a11362cc44a07188eb76c9035773beb5 (diff)
disable multilib for sh4
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/binutils/Makefile2
-rw-r--r--toolchain/gcc/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 18fc2137b..24970feb7 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -28,7 +28,7 @@ ifneq ($(ADK_LINUX_64)$(ADK_TARGET_KERNEL_64),)
CONFOPTS+= --enable-64-bit-bfd
endif
-ifeq ($(ADK_TARGET_ARCH_SH)$(ADK_TARGET_ARCH_X86_64),)
+ifeq ($(ADK_TARGET_ARCH_X86_64),)
CONFOPTS+= --disable-multilib
else
CONFOPTS+= --enable-multilib
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index c192ecb17..941b0fb78 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -111,7 +111,7 @@ ifeq ($(ADK_CPU_CF),y)
GCC_CONFOPTS+= --enable-multilib --with-arch=cf
endif
-ifeq ($(ADK_TARGET_ARCH_M68K)$(ADK_TARGET_ARCH_SH)$(ADK_TARGET_ARCH_X86_64)$(ADK_TARGET_ARCH_X86),)
+ifeq ($(ADK_TARGET_ARCH_M68K)$(ADK_TARGET_ARCH_X86_64)$(ADK_TARGET_ARCH_X86),)
GCC_FINAL_CONFOPTS+= --disable-biarch --disable-multilib
endif
@@ -121,7 +121,7 @@ GCC_CONFOPTS+= --with-endian=little
else
GCC_CONFOPTS+= --with-endian=big
endif
-GCC_FINAL_CONFOPTS+= --enable-multilib --with-multilib-list=m4,m4-nofpu
+GCC_FINAL_CONFOPTS+= --with-multilib-list=m4,m4-nofpu
endif
ifeq ($(ADK_TARGET_ARCH_X86),y)