diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.166/0001-remove-the-unneed-checking.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils-0.166/0001-remove-the-unneed-checking.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.166/0001-remove-the-unneed-checking.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-remove-the-unneed-checking.patch new file mode 100644 index 0000000000..5be92d705a --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-remove-the-unneed-checking.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | Disable the test to convert euc-jp | ||
2 | |||
3 | Remove the test "Test against HP-UX 11.11 bug: | ||
4 | No converter from EUC-JP to UTF-8 is provided" | ||
5 | since we don't support HP-UX and if the euc-jp is not | ||
6 | installed on the host, the dependence will be built without | ||
7 | iconv support and will cause guild-native building fail. | ||
8 | |||
9 | Upstream-Status: Inappropriate [OE specific] | ||
10 | |||
11 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
12 | --- | ||
13 | m4/iconv.m4 | 2 ++ | ||
14 | 1 file changed, 2 insertions(+) | ||
15 | |||
16 | diff --git a/m4/iconv.m4 b/m4/iconv.m4 | ||
17 | index a503646..299f1eb 100644 | ||
18 | --- a/m4/iconv.m4 | ||
19 | +++ b/m4/iconv.m4 | ||
20 | @@ -159,6 +159,7 @@ int main () | ||
21 | } | ||
22 | } | ||
23 | #endif | ||
24 | +#if 0 | ||
25 | /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is | ||
26 | provided. */ | ||
27 | if (/* Try standardized names. */ | ||
28 | @@ -170,6 +171,7 @@ int main () | ||
29 | /* Try HP-UX names. */ | ||
30 | && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) | ||
31 | result |= 16; | ||
32 | +#endif | ||
33 | return result; | ||
34 | }]])], | ||
35 | [am_cv_func_iconv_works=yes], | ||
36 | -- | ||
37 | 2.0.1 | ||
38 | |||