From 0e978df36d8c152f3e92408b3652ee1c10f15557 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 12 Aug 2022 21:28:05 -0700 Subject: unzip: Always enable largefile support (From OE-Core rev: 6423a850db2d8eff08d4018c82242803625f5990) 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(-) (limited to 'meta/recipes-extended/unzip') 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(?!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 -- cgit v1.2.3-54-g00ecf