mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 20:59:42 +01:00
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. (From OE-Core rev: b1c4661742d12cfd444043e597d01bd627ee4ca4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6fd50a6392
commit
1501ab0c6e
@@ -1,36 +0,0 @@
|
||||
This fix is also needed for GCC7.
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
From b29089d8b43abc8fba073da7e6dccaeba56b2b70 Mon Sep 17 00:00:00 2001
|
||||
From: Bruno Haible <bruno@clisp.org>
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user