Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
GRAPHITE_CONFIGURE:= --without-isl --without-cloog
endif
+ifneq ($(CONFIG_sh4),y)
+ DISABLE_MULTILIB:=--disable-multilib
+endif
+
GCC_CONFIGURE:= \
SHELL="$(BASH)" \
$(if $(shell gcc --version 2>&1 | grep -E "Apple.(LLVM|clang)"), \
--with-long-double-128
endif
+ifdef CONFIG_sh4
+ GCC_CONFIGURE+= \
+ --with-multilib-list=m4,m4-nofpu
+endif
+
ifneq ($(GCC_ARCH),)
GCC_CONFIGURE+= --with-arch=$(GCC_ARCH)
endif