1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

zip: Always enable LARGE_FILE_SUPPORT

largefile distro feature is deprecated

(From OE-Core rev: c1d1fdac00945e0b8793441a4737780ca00cec30)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2022-08-12 21:28:03 -07:00
committed by Richard Purdie
parent 595d98accc
commit f37a9d3b5e
+2 -1
View File
@@ -31,7 +31,8 @@ CVE_CHECK_IGNORE += "CVE-2018-13410"
# Not for zip but for smart contract implementation for it
CVE_CHECK_IGNORE += "CVE-2018-13684"
CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '-DLARGE_FILE_SUPPORT', '', d)}"
# Enable largefile support
CFLAGS += "-DLARGE_FILE_SUPPORT"
# zip.inc sets CFLAGS, but what Makefile actually uses is
# CFLAGS_NOOPT. It will also force -O3 optimization, overriding