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:
bfc73f4
)
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]
>
Sat, 14 May 2022 10:07:23 +0000
(12:07 +0200)
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 bef4fa37f8f90466c304c4a3c836d4912ea5025f..f857ef87695455b70a0cad8bfbca40a7e38b21b0 100644
(file)
--- a/
toolchain/gcc/common.mk
+++ b/
toolchain/gcc/common.mk
@@
-80,6
+80,10
@@
else
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)"), \
@@
-143,6
+147,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