Skip to contentSkip to conversation

erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64

PATCH New Khem Raj 1 participant 1 message Mar 13, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb +2 -0
index 16014d5b208..e5e19e75b43 100644
@@ -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"
Signature · 1 line
2.35.1