From 22f8a749fa956c82a0fe39eeb6948bd2068eb63a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 13 Mar 2022 12:52:04 -0700 Subject: [PATCH] erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64 ppc64 historically has used l64 for defining u64 types in kernel asm/types.h defaults to use l64 by default but kernel uses ll64 now a days, therefore lets use same int-ll64.h to provide these defines like other architectures Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb index 16014d5b20..e5e19e75b4 100644 --- a/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb +++ b/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb @@ -22,4 +22,6 @@ PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4" EXTRA_OECONF = "${PACKAGECONFIG_CONFARGS} --disable-fuse" +CFLAGS:append:powerpc64le = " -D__SANE_USERSPACE_TYPES__" + BBCLASSEXTEND = "native nativesdk" -- 2.40.1