Revert "e2fsprogs: fix compilation with musl 1.2.4"

lseek64 function was detected by autotools which would only check
the lfs header. Revert it and add proper fix instead.

This reverts commit 83ec8f3099.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2023-05-16 19:00:17 +08:00
parent 8d6cf250e5
commit 956a03a3a7
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=e2fsprogs
PKG_VERSION:=1.47.0
PKG_RELEASE:=2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/tytso/e2fsprogs/v$(PKG_VERSION)/
@ -143,9 +143,6 @@ $(call Package/e2fsprogs)
DEPENDS:= +e2fsprogs
endef
ifneq ($(CONFIG_USE_MUSL),)
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
endif
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \