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:
44aaca0
)
gcc: add multilib m4/m4-nofpu config for sh4
author
Zoltan HERPAI
<
[email protected]
>
Sun, 30 Jan 2022 12:47:12 +0000
(13:47 +0100)
committer
Zoltan HERPAI
<
[email protected]
>
Sun, 16 Feb 2025 21:41:45 +0000
(22:41 +0100)
Signed-off-by: Zoltan HERPAI <
[email protected]
>
toolchain/gcc/common.mk
patch
|
blob
|
history
diff --git
a/toolchain/gcc/common.mk
b/toolchain/gcc/common.mk
index 0ccf55bd313ca20d1f4dc7e1fb507e85f69e3f4e..89d7135f0cd7e539fbb6df7a448f6ba0935d5e3d 100644
(file)
--- a/
toolchain/gcc/common.mk
+++ b/
toolchain/gcc/common.mk
@@
-89,6
+89,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 \
@@
-150,6
+154,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