From: Khem Raj Date: Sat, 13 Aug 2022 04:28:03 +0000 (-0700) Subject: zip: Always enable LARGE_FILE_SUPPORT X-Git-Tag: yocto-4.1~432 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1d1fdac00945e0b8793441a4737780ca00cec30;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git zip: Always enable LARGE_FILE_SUPPORT largefile distro feature is deprecated Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb index 65d9b0995bf..1930a40140b 100644 --- a/meta/recipes-extended/zip/zip_3.0.bb +++ b/meta/recipes-extended/zip/zip_3.0.bb @@ -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