make: fix compilation with GCC15
authorRosen Penev <[email protected]>
Fri, 1 Aug 2025 23:47:08 +0000 (16:47 -0700)
committerRobert Marko <[email protected]>
Mon, 11 Aug 2025 08:33:29 +0000 (10:33 +0200)
Extra define is neede.

Signed-off-by: Rosen Penev <[email protected]>
devel/make/Makefile

index 3a9461a9af846bac8301751e186afe663457da64..55f22e3d15bf51ff3d4faab02b135c4532e63e03 100644 (file)
@@ -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/