diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-03 13:08:48 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-03 13:08:48 +0000 |
commit | fdd19c63274921d12566330a7587c44092a3a4af (patch) | |
tree | 60952670d65ae71c18e36745ff314684db93436a /main/mesa | |
parent | 3a7bc13723c7a873b758314bec4490f0abbfcc2e (diff) | |
download | aports-fdd19c63274921d12566330a7587c44092a3a4af.tar.bz2 aports-fdd19c63274921d12566330a7587c44092a3a4af.tar.xz |
main/mesa: fix musl build
Diffstat (limited to 'main/mesa')
-rw-r--r-- | main/mesa/APKBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD index da6847fe8..6dd86d6f4 100644 --- a/main/mesa/APKBUILD +++ b/main/mesa/APKBUILD @@ -42,6 +42,7 @@ esac prepare() { cd "$_builddir" + update_config_sub || return 1 for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -55,6 +56,9 @@ prepare() { build() { cd "$_builddir" + + [ "$CLIBC" == musl ] && export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700" + export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ |