diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-04-08 10:13:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-04-13 11:56:07 +0100 |
commit | b85f62ba30321469b9670a7f40b1663635b233fb (patch) | |
tree | c3fd4a75b9e159b124b16db68aa51bfc9e232a46 /meta/recipes-devtools/e2fsprogs | |
parent | b44a87156d735fc9bc7d200c3481eec9fa2007de (diff) | |
download | poky-b85f62ba30321469b9670a7f40b1663635b233fb.tar.gz |
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
(From OE-Core rev: d7909538067843d60b9cb56d79a51e2a240c8b18)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb index 2620610903..f29c55e346 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} \ | |||
20 | 20 | ||
21 | EXTRA_OECONF:darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs" | 21 | EXTRA_OECONF:darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs" |
22 | 22 | ||
23 | CFLAGS:append:riscv32 = " -D_FILE_OFFSET_BITS=64" | ||
23 | PACKAGECONFIG ??= "" | 24 | PACKAGECONFIG ??= "" |
24 | PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse' | 25 | PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse' |
25 | 26 | ||