From 54159082c7637d9439a478669f1d9d2eadaa446d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 16:21:28 +0800 Subject: [PATCH] update 2024-02-20 16:21:28 --- btop/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/btop/Makefile b/btop/Makefile index 1296d26bc..605ad61c1 100644 --- a/btop/Makefile +++ b/btop/Makefile @@ -5,12 +5,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=btop -PKG_VERSION:=1.3.0 +PKG_VERSION:=1.3.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL=https://codeload.github.com/aristocratos/btop/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf +PKG_HASH:=331d18488b1dc7f06cfa12cff909230816a24c57790ba3e8224b117e3f0ae03e PKG_MAINTAINER:=Tianling Shen PKG_LICENSE:=Apache-2.0 @@ -37,14 +37,11 @@ define Package/btop/description C++ version and continuation of bashtop and bpytop. endef +PROG_LDFLAGS:=-pthread -DFMT_HEADER_ONLY -D_FILE_OFFSET_BITS=64 MAKE_FLAGS+= \ PLATFORM=Linux \ OPTFLAGS="$(TARGET_CXXFLAGS)" \ - LDCXXFLAGS="$(TARGET_LDFLAGS) -pthread" - -ifneq ($(CONFIG_USE_MUSL),) - TARGET_CFLAGS += -D_LARGEFILE64_SOURCE -endif + LDCXXFLAGS="$(TARGET_LDFLAGS) $(PROG_LDFLAGS)" define Package/btop/install $(INSTALL_DIR) $(1)/usr/bin