Commit fdd19c63 authored by Timo Teräs's avatar Timo Teräs

main/mesa: fix musl build

parent 3a7bc137
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment