mirror of
https://github.com/openwrt/packages.git
synced 2026-02-04 12:06:29 +08:00
madplay: fix compilation with GCC 15
Define __GNU_LIBRARY__ for a proper getopt declaration when building with GCC 15. Signed-off-by: Til Kaiser <mail@tk154.de>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=madplay
|
||||
PKG_VERSION:=0.15.2b
|
||||
PKG_RELEASE:=10
|
||||
PKG_RELEASE:=11
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/mad \
|
||||
@@ -53,6 +53,8 @@ CONFIGURE_ARGS += \
|
||||
CONFIGURE_VARS += \
|
||||
lt_prog_compiler_pic="$(FPIC)"
|
||||
|
||||
TARGET_CFLAGS += -D__GNU_LIBRARY__
|
||||
|
||||
MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS)"
|
||||
|
||||
define Package/madplay/install
|
||||
|
||||
Reference in New Issue
Block a user