From: Rosen Penev Date: Fri, 1 Aug 2025 23:47:08 +0000 (-0700) Subject: make: fix compilation with GCC15 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=4112edb940a8ec6f2d70d3d83d88f49c497a6be8;p=feed%2Fpackages.git make: fix compilation with GCC15 Extra define is neede. Signed-off-by: Rosen Penev --- diff --git a/devel/make/Makefile b/devel/make/Makefile index 3a9461a9af..55f22e3d15 100644 --- a/devel/make/Makefile +++ b/devel/make/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=make PKG_VERSION:=4.4.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=@GNU/make PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -35,6 +35,8 @@ define Package/make/description The Make package contains a tool to create executables from source files. endef +TARGET_CFLAGS += -D__GNU_LIBRARY__ + define Package/make/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/