Update mesa recipe

This commit is contained in:
Jeremy Soller 2022-11-23 13:08:22 -07:00
parent 97469d5e83
commit 3d72057d3a
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE

View File

@ -12,6 +12,9 @@ dependencies = [
"zlib",
]
script = """
#TODO: do this in cook instead
unset AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF STRIP
export CFLAGS="-I${COOKBOOK_SYSROOT}/include -DHAVE_PTHREAD=1"
export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include -DHAVE_PTHREAD=1"
export LDFLAGS="-L${COOKBOOK_SYSROOT}/lib --static"