]> code.ossystems Code Review - openembedded-core.git/commitdiff
erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64
authorKhem Raj <raj.khem@gmail.com>
Sun, 13 Mar 2022 19:52:04 +0000 (12:52 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Mar 2022 08:38:28 +0000 (08:38 +0000)
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 <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb

index 16014d5b2083281ecaf31dd638a5823219187583..e5e19e75b43a94245b8d8d9d22752297e6de764c 100644 (file)
@@ -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"