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:
Til Kaiser
2026-01-06 15:52:45 +01:00
committed by Hannu Nyman
parent b2146d5952
commit ae97873974

View File

@@ -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