make: fix compilation with GCC15

Extra define is neede.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2025-08-01 16:47:08 -07:00
committed by Robert Marko
parent 7f0b734e92
commit 4112edb940

View 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/