Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 1 | The code is encoding host compiler parameters into target builds. Avoid |
| 2 | this for our target builds (patch is target specific, not native) |
| 3 | |
| 4 | Upstream-Status: Inappropriate [Cross compile hack] |
| 5 | RP 2020/2/18 |
| 6 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
| 7 | |
| 8 | Index: perl-5.30.1/cpan/Encode/bin/enc2xs |
| 9 | =================================================================== |
| 10 | --- perl-5.30.1.orig/cpan/Encode/bin/enc2xs |
| 11 | +++ perl-5.30.1/cpan/Encode/bin/enc2xs |
| 12 | @@ -195,7 +195,7 @@ sub compiler_info { |
| 13 | # above becomes false. |
| 14 | my $sized = $declaration && !($compat && !$pedantic); |
| 15 | |
| 16 | - return ($cpp, $static, $sized); |
| 17 | + return (0, 1, 1); |
| 18 | } |
| 19 | |
| 20 | |