mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-08 16:00:32 +00:00
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>
This commit is contained in:
@@ -23,6 +23,7 @@ PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext"
|
||||
|
||||
CFLAGS += "-D_FILE_OFFSET_BITS=64"
|
||||
TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE"
|
||||
|
||||
do_configure () {
|
||||
export DEBUG="-DNDEBUG"
|
||||
|
||||
Reference in New Issue
Block a user