projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1625e44
)
gcc: add multilib m4/m4-nofpu config for sh4
author
Zoltan HERPAI
<wigyori@uid0.hu>
Sun, 30 Jan 2022 12:47:12 +0000
(13:47 +0100)
committer
Zoltan HERPAI
<wigyori@uid0.hu>
Fri, 15 Mar 2024 16:03:34 +0000
(17:03 +0100)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
toolchain/gcc/common.mk
patch
|
blob
|
history
diff --git
a/toolchain/gcc/common.mk
b/toolchain/gcc/common.mk
index cdbf9fafa9474b94f60d7defeb8f8ec1661f3180..0eea12f10963c2d9859363b0d07387493e09bbb4 100644
(file)
--- a/
toolchain/gcc/common.mk
+++ b/
toolchain/gcc/common.mk
@@
-85,6
+85,10
@@
else
GRAPHITE_CONFIGURE:= --without-isl --without-cloog
endif
+ifneq ($(CONFIG_sh4),y)
+ DISABLE_MULTILIB:=--disable-multilib
+endif
+
GCC_CONFIGURE:= \
SHELL="$(BASH)" \
$(HOST_SOURCE_DIR)/configure \
@@
-146,6
+150,11
@@
ifdef CONFIG_sparc
--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