aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2021-03-28 01:12:22 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2021-04-10 14:22:28 +0200
commitf88459de25820b56371765525f6d2a3fa19b575a (patch)
treeecef236b4d54bc4283b1315a9d72bfdefef38798
parent3e9d639e8f8245e5acec707cfbef8788c8850d1b (diff)
downloadupstream-f88459de25820b56371765525f6d2a3fa19b575a.tar.gz
upstream-f88459de25820b56371765525f6d2a3fa19b575a.tar.bz2
upstream-f88459de25820b56371765525f6d2a3fa19b575a.zip
bpftools: drop unneeded libintl linking for NLS
There is no direct linking of libintl from bpftools, only secondary linking through libelf, so remove "-lintl" from TARGET_LDFLAGS. Fixes: 5582fbd6135f ("bpftools: support NLS, fix ppc build and update to 5.8.9") Signed-off-by: Tony Ambardar <itugrok@yahoo.com> (cherry picked from commit c8c638a19b63bf6c3bf8094aebd8fde6feda36ba)
-rw-r--r--package/network/utils/bpftools/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/network/utils/bpftools/Makefile b/package/network/utils/bpftools/Makefile
index ab1e4aa0c4..82eb34e2dc 100644
--- a/package/network/utils/bpftools/Makefile
+++ b/package/network/utils/bpftools/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bpftools
PKG_VERSION:=5.10.10
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=linux-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/kernel/v5.x
@@ -93,10 +93,6 @@ ifneq ($(BUILD_VARIANT),lib)
TARGET_LDFLAGS += -Wl,--gc-sections
endif
-ifneq ($(INTL_FULL),)
- TARGET_LDFLAGS += -Wl,-lintl
-endif
-
MAKE_FLAGS += \
EXTRA_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \