mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
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>
This commit is contained in:
@@ -45,6 +45,8 @@ PACKAGECONFIG[gdbm] = ",-Ui_gdbm,gdbm"
|
||||
# Don't generate comments in enc2xs output files. They are not reproducible
|
||||
export ENC2XS_NO_COMMENTS = "1"
|
||||
|
||||
CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||
|
||||
do_configure:prepend() {
|
||||
cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user