aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-18 08:39:16 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-18 08:39:16 +0000
commitb060accbbc1aac1dab6e4ac5384c6f3c10f2b2a4 (patch)
treefcabcafa7c15eeec3548b6d2499464be6947b4a7
parent3bd2948bb4572f820879611aa56eec68fed62ef2 (diff)
downloadaports-b060accbbc1aac1dab6e4ac5384c6f3c10f2b2a4.tar.bz2
aports-b060accbbc1aac1dab6e4ac5384c6f3c10f2b2a4.tar.xz
main/mdadm: fix musl build
-rw-r--r--main/mdadm/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/mdadm/APKBUILD b/main/mdadm/APKBUILD
index 66dd9fa533..888ad3c5a8 100644
--- a/main/mdadm/APKBUILD
+++ b/main/mdadm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mdadm
pkgver=3.3
-pkgrel=0
+pkgrel=1
pkgdesc="a tool for managing Linux Software RAID arrays"
url="http://neil.brown.name/blog/mdadm"
arch="all"
@@ -24,7 +24,7 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- make
+ make CXFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200809L -Wno-error"
}
package() {