diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-9.2/0022-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch')
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-9.2/0022-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-9.2/0022-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-9.2/0022-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch new file mode 100644 index 0000000000..d5b9150023 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-9.2/0022-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 279c4de48e3fd61e2f268787ed3f1d69ed9224f8 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 28 Apr 2015 23:15:27 -0700 | ||
| 4 | Subject: [PATCH 22/36] Use SYSTEMLIBS_DIR replacement instead of hardcoding | ||
| 5 | base_libdir | ||
| 6 | |||
| 7 | Upstream-Status: Pending | ||
| 8 | |||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | gcc/config/aarch64/aarch64-linux.h | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h | ||
| 15 | index 5e8b34ded03..7e628bf661e 100644 | ||
| 16 | --- a/gcc/config/aarch64/aarch64-linux.h | ||
| 17 | +++ b/gcc/config/aarch64/aarch64-linux.h | ||
| 18 | @@ -21,7 +21,7 @@ | ||
| 19 | #ifndef GCC_AARCH64_LINUX_H | ||
| 20 | #define GCC_AARCH64_LINUX_H | ||
| 21 | |||
| 22 | -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" | ||
| 23 | +#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" | ||
| 24 | |||
| 25 | #undef MUSL_DYNAMIC_LINKER | ||
| 26 | #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" | ||
| 27 | -- | ||
| 28 | 2.22.1 | ||
| 29 | |||
