diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-12 21:28:03 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-16 14:57:58 +0100 |
commit | f37a9d3b5ec6f907b6529c91f9eaf1f51ded3a9a (patch) | |
tree | 6347bd193ec5c90169e12dec69c5ac4b5f79ab9b /meta/recipes-extended/zip | |
parent | 595d98accc9ad706dd1d65cb10a44c057ec0d6cb (diff) | |
download | poky-f37a9d3b5ec6f907b6529c91f9eaf1f51ded3a9a.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended/zip')
-rw-r--r-- | meta/recipes-extended/zip/zip_3.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb index 65d9b0995b..1930a40140 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" | |||
31 | # Not for zip but for smart contract implementation for it | 31 | # Not for zip but for smart contract implementation for it |
32 | CVE_CHECK_IGNORE += "CVE-2018-13684" | 32 | CVE_CHECK_IGNORE += "CVE-2018-13684" |
33 | 33 | ||
34 | CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '-DLARGE_FILE_SUPPORT', '', d)}" | 34 | # Enable largefile support |
35 | CFLAGS += "-DLARGE_FILE_SUPPORT" | ||
35 | 36 | ||
36 | # zip.inc sets CFLAGS, but what Makefile actually uses is | 37 | # zip.inc sets CFLAGS, but what Makefile actually uses is |
37 | # CFLAGS_NOOPT. It will also force -O3 optimization, overriding | 38 | # CFLAGS_NOOPT. It will also force -O3 optimization, overriding |