Fix mesa build

This commit is contained in:
Jeremy Soller 2019-06-17 20:03:26 -06:00
parent e16d69117a
commit cbd903f0e6
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -17,7 +17,7 @@ function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include -DHAVE_PTHREAD=1"
export CPPFLAGS="-I$sysroot/include -DHAVE_PTHREAD=1"
export LDFLAGS="-L$sysroot/lib"
export LDFLAGS="-L$sysroot/lib --static"
#export LLVM_CONFIG="x86_64-unknown-redox-llvm-config"
NOCONFIGURE=1 ./autogen.sh
./configure \
@ -31,11 +31,13 @@ function recipe_build {
--disable-glx \
--disable-gbm \
--disable-llvm-shared-libs \
--disable-shared \
--enable-llvm \
--enable-gallium-osmesa \
--enable-static \
--with-gallium-drivers=swrast \
--with-platforms=surfaceless
make -j"$(nproc)"
make V=1 -j"$(nproc)"
skip=1
}