aboutsummaryrefslogtreecommitdiffstats
path: root/main/lockdev
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-17 12:47:24 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-17 12:47:24 +0000
commit8aa0f149ba7868eaec539db641da554fe1ca4a71 (patch)
tree71abd6b1b6c578f9cf05ea1e77ed6b72a8750fa3 /main/lockdev
parent1fd915b81678c58d35bf63761c260efd5362a93d (diff)
downloadaports-8aa0f149ba7868eaec539db641da554fe1ca4a71.tar.bz2
aports-8aa0f149ba7868eaec539db641da554fe1ca4a71.tar.xz
main/lockdev: fix musl build
Diffstat (limited to 'main/lockdev')
-rw-r--r--main/lockdev/APKBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/lockdev/APKBUILD b/main/lockdev/APKBUILD
index d5aa96dd35..0fc5c0a42c 100644
--- a/main/lockdev/APKBUILD
+++ b/main/lockdev/APKBUILD
@@ -29,6 +29,7 @@ prepare() {
build() {
cd "$_builddir"
+ [ "$CLIBC" == "musl" ] && export CFLAGS="$CFLAGS -D__GNU_LIBRARY__"
# bootstap fails with missing m4 dir
mkdir m4
./bootstrap || return 1