diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-23 10:06:37 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-26 09:55:57 -0800 |
commit | 570a57903dec838009daac25a4520ce370958558 (patch) | |
tree | 4c33b658a1a40be51f614da12a164094d9927b70 /meta-filesystems | |
parent | 841daa24d5d0730bfa1fdb0dc7898b29061face4 (diff) | |
download | meta-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.bb | 1 |
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 ??= "" | |||
23 | PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext" | 23 | PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext" |
24 | 24 | ||
25 | CFLAGS += "-D_FILE_OFFSET_BITS=64" | 25 | CFLAGS += "-D_FILE_OFFSET_BITS=64" |
26 | TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE" | ||
26 | 27 | ||
27 | do_configure () { | 28 | do_configure () { |
28 | export DEBUG="-DNDEBUG" | 29 | export DEBUG="-DNDEBUG" |