mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
make: fix compilation with GCC15
Extra define is neede. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
7f0b734e92
commit
4112edb940
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=make
|
PKG_NAME:=make
|
||||||
PKG_VERSION:=4.4.1
|
PKG_VERSION:=4.4.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_URL:=@GNU/make
|
PKG_SOURCE_URL:=@GNU/make
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
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.
|
The Make package contains a tool to create executables from source files.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_CFLAGS += -D__GNU_LIBRARY__
|
||||||
|
|
||||||
define Package/make/install
|
define Package/make/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user