Message ID | 20220813042807.3533472-1-raj.khem@gmail.com |
---|---|
State | Accepted, archived |
Commit | c1d1fdac00945e0b8793441a4737780ca00cec30 |
Headers | show |
Series | [1/5] zip: Always enable LARGE_FILE_SUPPORT | expand |
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
largefile distro feature is deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta/recipes-extended/zip/zip_3.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)