From: Khem Raj Date: Sat, 8 Apr 2023 17:13:01 +0000 (-0700) Subject: e2fsprogs: Define 64bit off_t on rv32 X-Git-Tag: uninative-3.10~335 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7909538067843d60b9cb56d79a51e2a240c8b18;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git e2fsprogs: Define 64bit off_t on rv32 Help configure to build it correctly on rv32 and musl especially, it shoild not ideally poke at _FILE_OFFSET_BITS, its not a portable define Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb index 26206109039..f29c55e346c 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb @@ -20,6 +20,7 @@ EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \ EXTRA_OECONF:darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs" +CFLAGS:append:riscv32 = " -D_FILE_OFFSET_BITS=64" PACKAGECONFIG ??= "" PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse'