diff mbox series

[meta-filesystems,2/2] xfstests: Add -D_LARGEFILE64_SOURCE on musl

Message ID 20221223180913.874888-2-raj.khem@gmail.com
State New
Headers show
Series [meta-filesystems,1/2] xfsdump: Add -D_LARGEFILE64_SOURCE on musl | expand

Commit Message

Khem Raj Dec. 23, 2022, 6:09 p.m. UTC
it used lfs64 funcitons which are under _LARGEFILE64_SOURCE and musl
does not define it indirectly undet _GNU_SOURCE like glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb
index 136fea8adc..b7cbd3a6d5 100644
--- a/meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb
+++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2022.12.11.bb
@@ -41,6 +41,7 @@  USERADD_PARAM:${PN} = "-U -m fsgqa; -N 123456-fsgqa; -N fsgqa2"
 
 EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
 
+TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE"
 # install-sh script in the project is outdated
 # we use the one from the latest libtool to solve installation issues
 # It looks like the upstream is not interested in having it fixed :(