summaryrefslogtreecommitdiffstats
path: root/meta-filesystems
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-12-23 10:06:37 -0800
committerKhem Raj <raj.khem@gmail.com>2022-12-26 09:55:57 -0800
commit570a57903dec838009daac25a4520ce370958558 (patch)
tree4c33b658a1a40be51f614da12a164094d9927b70 /meta-filesystems
parent841daa24d5d0730bfa1fdb0dc7898b29061face4 (diff)
downloadmeta-openembedded-570a57903dec838009daac25a4520ce370958558.tar.gz
xfsdump: 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>
Diffstat (limited to 'meta-filesystems')
-rw-r--r--meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb
index 659d604a6..9e595b952 100644
--- a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb
+++ b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb
@@ -23,6 +23,7 @@ PACKAGECONFIG ??= ""
23PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext" 23PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext"
24 24
25CFLAGS += "-D_FILE_OFFSET_BITS=64" 25CFLAGS += "-D_FILE_OFFSET_BITS=64"
26TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE"
26 27
27do_configure () { 28do_configure () {
28 export DEBUG="-DNDEBUG" 29 export DEBUG="-DNDEBUG"