mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
lcdproc: fiz compilation with gcc15
__GNU__LIBRARY needs to be defined for a proper definition. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=lcdproc
|
||||
PKG_VERSION:=0.5.9
|
||||
PKG_RELEASE:=8
|
||||
PKG_RELEASE:=9
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/lcdproc/lcdproc/releases/download/v$(PKG_VERSION)/
|
||||
@@ -132,6 +132,7 @@ MAKE_FLAGS += \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)"
|
||||
|
||||
TARGET_CFLAGS += -D__GNU_LIBRARY__
|
||||
|
||||
define Package/lcdproc-clients/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
|
||||
Reference in New Issue
Block a user