summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-27 18:49:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-27 18:49:08 +0100
commitfad8b775c345f21c2b024f029892b92b67ecda23 (patch)
treeda864456f9cf4d79d703adedb61d3e2653a245ff
parent6cd8332131fcdd61760ff2714c2a443e4a2a04d3 (diff)
fix musl compile
-rw-r--r--package/madplay/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/madplay/Makefile b/package/madplay/Makefile
index cb154ae8c..f18588787 100644
--- a/package/madplay/Makefile
+++ b/package/madplay/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= madplay
PKG_VERSION:= 0.15.2b
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 6814b47ceaa99880c754c5195aa1aac1
PKG_DESCR:= MPEG audio player in fixed point
PKG_SECTION:= multimedia
@@ -19,6 +19,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MADPLAY,madplay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${CC_FOR_BUILD} \
LIBS="-lz" \
ac_cv_linux_vers=2 \