xfstests: Add -D_LARGEFILE64_SOURCE on musl

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>
This commit is contained in:
Khem Raj
2022-12-23 10:08:17 -08:00
parent 570a57903d
commit 25391e43c3

View File

@@ -41,6 +41,7 @@ USERADD_PARAM:${PN} = "-U -m fsgqa; -N 123456-fsgqa; -N fsgqa2"
EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root" 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 # install-sh script in the project is outdated
# we use the one from the latest libtool to solve installation issues # we use the one from the latest libtool to solve installation issues
# It looks like the upstream is not interested in having it fixed :( # It looks like the upstream is not interested in having it fixed :(