mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 15:57:04 +00:00
4d11365f40
The code is encoding host compiler parameters into target builds. Avoid this for our target builds. This should resolve builds which aren't reproducible between hosts with different compilers. (From OE-Core rev: 4b41afeea632f33a490d75621e2c0d6bb2bb6aca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 71cdbf426e46e3ca1b5038f40e9f7ba958abc537) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
662 B
Diff
21 lines
662 B
Diff
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 <richard.purdie@linuxfoundation.org>
|
|
|
|
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);
|
|
}
|
|
|
|
|