diff options
author | Tianling Shen <cnsztl@immortalwrt.org> | 2023-05-17 16:24:49 +0800 |
---|---|---|
committer | Tianling Shen <cnsztl@gmail.com> | 2023-05-18 16:36:53 +0800 |
commit | 710ef135cfe38d511cd1099985cd74698b05370a (patch) | |
tree | 7595dbafc249e9a431728781d594ef60c0a45d65 /net/tgt | |
parent | c7aba534f028ac166639b9f7c3b77667d93a64e7 (diff) |
tgt: Update to 1.0.86
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.
Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Diffstat (limited to 'net/tgt')
-rw-r--r-- | net/tgt/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/net/tgt/Makefile b/net/tgt/Makefile index 46720dddf..8939d51d1 100644 --- a/net/tgt/Makefile +++ b/net/tgt/Makefile @@ -4,12 +4,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tgt -PKG_VERSION:=1.0.83 -PKG_RELEASE:=2 +PKG_VERSION:=1.0.86 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/fujita/tgt/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=a9ddb0ff32d3396416df9639f9f398d14a6051f505b5772d7d196df99df8b8da +PKG_HASH:=af84c16bf8893d65666afcc0424b46dafddd2d0e5dcf818b319ea9ed3c3315a7 PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com> PKG_LICENSE:=GPL-2.0-only @@ -35,6 +35,10 @@ supports multiple methods for accessing block storage. Tgt consists of user-space daemon and tools. endef +ifneq ($(CONFIG_USE_MUSL),) + TARGET_CFLAGS += -D_LARGEFILE64_SOURCE +endif + define Build/Compile $(call Build/Compile/Default,programs) endef |