f2fs-tools: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.
_LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used
to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
83ec8f3099
commit
de7134cf02
@ -98,6 +98,10 @@ define Package/libf2fs-selinux
|
||||
VARIANT:=selinux
|
||||
endef
|
||||
|
||||
ifneq ($(CONFIG_USE_MUSL),)
|
||||
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
|
||||
endif
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-static \
|
||||
--without-blkid \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user