diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-8.2.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-8.2/0043-riscv-Disable-multilib-for-OE.patch | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-8.2.inc b/meta/recipes-devtools/gcc/gcc-8.2.inc index b6568a046e..b21c605e81 100644 --- a/meta/recipes-devtools/gcc/gcc-8.2.inc +++ b/meta/recipes-devtools/gcc/gcc-8.2.inc | |||
@@ -71,6 +71,7 @@ SRC_URI = "\ | |||
71 | file://0040-Re-introduce-spe-commandline-options.patch \ | 71 | file://0040-Re-introduce-spe-commandline-options.patch \ |
72 | file://0041-ARC-fix-spec-gen.patch \ | 72 | file://0041-ARC-fix-spec-gen.patch \ |
73 | file://0042-powerpc-powerpc64-Add-support-for-musl-ldso.patch \ | 73 | file://0042-powerpc-powerpc64-Add-support-for-musl-ldso.patch \ |
74 | file://0043-riscv-Disable-multilib-for-OE.patch \ | ||
74 | ${BACKPORTS} \ | 75 | ${BACKPORTS} \ |
75 | " | 76 | " |
76 | BACKPORTS = "\ | 77 | BACKPORTS = "\ |
diff --git a/meta/recipes-devtools/gcc/gcc-8.2/0043-riscv-Disable-multilib-for-OE.patch b/meta/recipes-devtools/gcc/gcc-8.2/0043-riscv-Disable-multilib-for-OE.patch new file mode 100644 index 0000000000..dc28d1bfd8 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-8.2/0043-riscv-Disable-multilib-for-OE.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From ca0a6e035eef0cdbd0ef3a222c75d4b9f873c512 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 28 Dec 2018 09:59:53 -0800 | ||
4 | Subject: [PATCH 39/39] riscv: Disable multilib for OE | ||
5 | |||
6 | Upstream-Status: Inappropriate [OE-Specific] | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | gcc/config/riscv/t-linux | 6 ++++-- | ||
11 | 1 file changed, 4 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/gcc/config/riscv/t-linux b/gcc/config/riscv/t-linux | ||
14 | index 216d2776a18..e4d817621fc 100644 | ||
15 | --- a/gcc/config/riscv/t-linux | ||
16 | +++ b/gcc/config/riscv/t-linux | ||
17 | @@ -1,3 +1,5 @@ | ||
18 | # Only XLEN and ABI affect Linux multilib dir names, e.g. /lib32/ilp32d/ | ||
19 | -MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst rv64%,lib64,$(MULTILIB_DIRNAMES))) | ||
20 | -MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES)) | ||
21 | +#MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst rv64%,lib64,$(MULTILIB_DIRNAMES))) | ||
22 | +MULTILIB_DIRNAMES := . . | ||
23 | +#MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES)) | ||
24 | +MULTILIB_OSDIRNAMES := ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) | ||
25 | -- | ||
26 | 2.20.1 | ||
27 | |||