aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mesa/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index da6847fe87..6dd86d6f4b 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 \