diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-04 23:50:43 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-18 16:34:40 +0100 |
| commit | c9cf0084c4b7a5fb4c7d18754ef97a351cf4a871 (patch) | |
| tree | 7bdbc88f0e29a4d1466c8fd332afd53dd203c95e /meta | |
| parent | 068aad9f1d598af8953e9881c306883012e2bfa6 (diff) | |
| download | poky-c9cf0084c4b7a5fb4c7d18754ef97a351cf4a871.tar.gz | |
perl: Add dependency on make-native to avoid race issues
Make 4.1 has race issues with double colon usage in makefiles which are common
in MakeMaker generated code in perl. Add a dependency on make-native to avoid
this as it is relaitvely low overhead.
(From OE-Core rev: 6b1bc1366bf88ec3b77fe9db44813c4dfd545a7d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 692b7c518637c77804caf7b3cfc60a83afa2e4f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/perl/perl_5.34.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.34.1.bb b/meta/recipes-devtools/perl/perl_5.34.1.bb index 4b9d2e2c50..42bcb8b1bc 100644 --- a/meta/recipes-devtools/perl/perl_5.34.1.bb +++ b/meta/recipes-devtools/perl/perl_5.34.1.bb | |||
| @@ -33,6 +33,8 @@ S = "${WORKDIR}/perl-${PV}" | |||
| 33 | inherit upstream-version-is-even update-alternatives | 33 | inherit upstream-version-is-even update-alternatives |
| 34 | 34 | ||
| 35 | DEPENDS += "perlcross-native zlib virtual/crypt" | 35 | DEPENDS += "perlcross-native zlib virtual/crypt" |
| 36 | # make 4.1 has race issues with the double-colon usage of MakeMaker, see #14096 | ||
| 37 | DEPENDS += "make-native" | ||
| 36 | 38 | ||
| 37 | PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0" | 39 | PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0" |
| 38 | 40 | ||
