diff options
author | Ross Burton <ross.burton@arm.com> | 2022-09-08 11:45:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-09 14:09:01 +0100 |
commit | a46d486a2726ce9ed55fc47e6d2302be887987e7 (patch) | |
tree | 0f1fb354857d733273b0921565161752c22b5ae4 /meta/recipes-devtools/gcc | |
parent | f2688a7e63cdc4dbaafe46f602874cefb499051a (diff) | |
download | poky-a46d486a2726ce9ed55fc47e6d2302be887987e7.tar.gz |
gcc: remove obsolete MinGW patch
This patch appears to be obsoleted by 217d5be, in GCC 11.1 onwards.
libstdc++: Test errno macros directly for all targets [PR 93151]
This applies the same changes to the djgpp and mingw versions of
error_constants.h as r11-6137 did for the generic version.
(From OE-Core rev: e3157da1408b4e6281fdf28825b79c266e93c05e)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-12.2.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc/0022-mingw32-Enable-operation_not_supported.patch | 26 |
2 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-12.2.inc b/meta/recipes-devtools/gcc/gcc-12.2.inc index 02dc59db63..0dbbecad4a 100644 --- a/meta/recipes-devtools/gcc/gcc-12.2.inc +++ b/meta/recipes-devtools/gcc/gcc-12.2.inc | |||
@@ -58,7 +58,6 @@ SRC_URI = "${BASEURI} \ | |||
58 | file://0019-Re-introduce-spe-commandline-options.patch \ | 58 | file://0019-Re-introduce-spe-commandline-options.patch \ |
59 | file://0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ | 59 | file://0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ |
60 | file://0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \ | 60 | file://0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \ |
61 | file://0022-mingw32-Enable-operation_not_supported.patch \ | ||
62 | file://0023-libatomic-Do-not-enforce-march-on-aarch64.patch \ | 61 | file://0023-libatomic-Do-not-enforce-march-on-aarch64.patch \ |
63 | file://0024-Fix-install-path-of-linux64.h.patch \ | 62 | file://0024-Fix-install-path-of-linux64.h.patch \ |
64 | file://0026-rust-recursion-limit.patch \ | 63 | file://0026-rust-recursion-limit.patch \ |
diff --git a/meta/recipes-devtools/gcc/gcc/0022-mingw32-Enable-operation_not_supported.patch b/meta/recipes-devtools/gcc/gcc/0022-mingw32-Enable-operation_not_supported.patch deleted file mode 100644 index f88ad51ee8..0000000000 --- a/meta/recipes-devtools/gcc/gcc/0022-mingw32-Enable-operation_not_supported.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From 061cf79e7b6e89fdf0f2630ddaebbf1d7b271ac3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 12 May 2020 10:39:09 -0700 | ||
4 | Subject: [PATCH] mingw32: Enable operation_not_supported | ||
5 | |||
6 | Fixes nativesdk build errors on mingw32 gcc-runtime | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | libstdc++-v3/config/os/mingw32/error_constants.h | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h | ||
15 | index da5f4c2ac85..e855c86267c 100644 | ||
16 | --- a/libstdc++-v3/config/os/mingw32/error_constants.h | ||
17 | +++ b/libstdc++-v3/config/os/mingw32/error_constants.h | ||
18 | @@ -107,7 +107,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION | ||
19 | #ifdef EPERM | ||
20 | operation_not_permitted = EPERM, | ||
21 | #endif | ||
22 | -// operation_not_supported = EOPNOTSUPP, | ||
23 | + operation_not_supported = EOPNOTSUPP, | ||
24 | #ifdef EWOULDBLOCK | ||
25 | operation_would_block = EWOULDBLOCK, | ||
26 | #endif | ||