summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-08 22:41:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-12 19:22:04 +0100
commit483f285c4de1272fec799c247cec4ba010db34d5 (patch)
tree6965c5b92484ab188acd25e7fd4e12b4c9367d1a /meta/recipes-devtools
parent0f974fd6a5ef3a9ba385e0fd7d891e989972dd7b (diff)
downloadpoky-483f285c4de1272fec799c247cec4ba010db34d5.tar.gz
perl: Pass additional flags to enable lfs and gnu source
These defines are needed to enable some GNU APIs and large file support is default in OE anyway (From OE-Core rev: 322b0a7f7a2e2c6a459deca6de0052365b1c1727) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/perl_5.36.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.36.0.bb b/meta/recipes-devtools/perl/perl_5.36.0.bb
index 4456cdbcfb..ead7dace16 100644
--- a/meta/recipes-devtools/perl/perl_5.36.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.36.0.bb
@@ -45,6 +45,8 @@ PACKAGECONFIG[gdbm] = ",-Ui_gdbm,gdbm"
45# Don't generate comments in enc2xs output files. They are not reproducible 45# Don't generate comments in enc2xs output files. They are not reproducible
46export ENC2XS_NO_COMMENTS = "1" 46export ENC2XS_NO_COMMENTS = "1"
47 47
48CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
49
48do_configure:prepend() { 50do_configure:prepend() {
49 cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S} 51 cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S}
50} 52}