From 3ffb0a95642dacb288efc4d636c6c09a2bd57927 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Mon, 10 Jul 2017 00:31:32 -0700 Subject: libiconv: remove 0001-Fix-link-error-when-compiling-with-gcc-O0.patch The recipe and patches (including this patch) had been moved into meta-mingw, this dangling patch is useless here, so should be removed. Signed-off-by: Robert Yang --- ...Fix-link-error-when-compiling-with-gcc-O0.patch | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 meta/recipes-support/libiconv/libiconv-1.14/0001-Fix-link-error-when-compiling-with-gcc-O0.patch diff --git a/meta/recipes-support/libiconv/libiconv-1.14/0001-Fix-link-error-when-compiling-with-gcc-O0.patch b/meta/recipes-support/libiconv/libiconv-1.14/0001-Fix-link-error-when-compiling-with-gcc-O0.patch deleted file mode 100644 index 15af15ff8c..0000000000 --- a/meta/recipes-support/libiconv/libiconv-1.14/0001-Fix-link-error-when-compiling-with-gcc-O0.patch +++ /dev/null @@ -1,36 +0,0 @@ -This fix is also needed for GCC7. - -Upstream-Status: Backport -Signed-off-by: Ross Burton - -From b29089d8b43abc8fba073da7e6dccaeba56b2b70 Mon Sep 17 00:00:00 2001 -From: Bruno Haible -Date: Sat, 19 Nov 2016 17:13:56 +0100 -Subject: [PATCH] Fix link error when compiling with gcc -O0. - ---- - ChangeLog | 7 +++++++ - lib/iconv.c | 6 +++++- - 2 files changed, 12 insertions(+), 1 deletion(-) - -diff --git a/lib/iconv.c b/lib/iconv.c -index 5a1a325..31853a7 100644 ---- a/lib/iconv.c -+++ b/lib/iconv.c -@@ -178,8 +178,12 @@ static const struct alias sysdep_aliases[] = { - }; - #ifdef __GNUC__ - __inline -+#else -+#ifdef __cplusplus -+inline -+#endif - #endif --const struct alias * -+static const struct alias * - aliases2_lookup (register const char *str) - { - const struct alias * ptr; --- -2.8.1 - -- cgit 1.2.3-korg