From 6423a850db2d8eff08d4018c82242803625f5990 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 12 Aug 2022 21:28:05 -0700 Subject: [PATCH] unzip: Always enable largefile support Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-extended/unzip/unzip_6.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb index 96068eefdd2..a4d10c30aa2 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(?!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 -- 2.47.3