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 authored and Richard Purdie committed 2022-08-16 14:57:58 +01:00
1 parent 595d98accc
commit f37a9d3b5e
1 file changed
+2 -1
+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