From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../meta/recipes-devtools/perl/files/encodefix.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 external/poky/meta/recipes-devtools/perl/files/encodefix.patch (limited to 'external/poky/meta/recipes-devtools/perl/files/encodefix.patch') diff --git a/external/poky/meta/recipes-devtools/perl/files/encodefix.patch b/external/poky/meta/recipes-devtools/perl/files/encodefix.patch new file mode 100644 index 00000000..396ed0d5 --- /dev/null +++ b/external/poky/meta/recipes-devtools/perl/files/encodefix.patch @@ -0,0 +1,20 @@ +The code is encoding host compiler parameters into target builds. Avoid +this for our target builds (patch is target specific, not native) + +Upstream-Status: Inappropriate [Cross compile hack] +RP 2020/2/18 +Signed-off-by: Richard Purdie + +Index: perl-5.30.1/cpan/Encode/bin/enc2xs +=================================================================== +--- perl-5.30.1.orig/cpan/Encode/bin/enc2xs ++++ perl-5.30.1/cpan/Encode/bin/enc2xs +@@ -195,7 +195,7 @@ sub compiler_info { + # above becomes false. + my $sized = $declaration && !($compat && !$pedantic); + +- return ($cpp, $static, $sized); ++ return (0, 1, 1); + } + + -- cgit 1.2.3-korg