summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-12 21:28:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-16 14:55:46 +0100
commit6423a850db2d8eff08d4018c82242803625f5990 (patch)
tree0155f5fa95e7625cb56697793a2bf1f34f1900f5
parentd07270dc51a3acbef9a5aa5efbca59b8b5b25d1e (diff)
downloadopenembedded-core-contrib-6423a850db2d8eff08d4018c82242803625f5990.tar.gz
unzip: Always enable largefile support
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/unzip/unzip_6.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
index 96068eefdd..a4d10c30aa 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -46,7 +46,8 @@ UPSTREAM_CHECK_REGEX = "unzip(?P<pver>(?!552).+)\.tgz"
S = "${WORKDIR}/unzip60"
-CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '-DLARGE_FILE_SUPPORT', '', d)}"
+# Enable largefile support
+CFLAGS += "-DLARGE_FILE_SUPPORT"
# Makefile uses CF_NOOPT instead of CFLAGS. We lifted the values from
# Makefile and add CFLAGS. Optimization will be overriden by unzip