[Mesa-dev] [PATCH 1/2] configure.ac: Don't look for pthreads in Android platform

Emil Velikov emil.l.velikov at gmail.com
Fri Oct 28 18:59:36 UTC 2016


On 28 October 2016 at 19:35, Gurchetan Singh
<gurchetansingh at chromium.org> wrote:
> Removing the entire hunk causes build failures on CrOS mesa.  Refer to this
> for more information:
>
> http://stackoverflow.com/questions/17055279/autotools-for-pthreads-not-setting-correct-linker-flags
>
> We can do one of the following:
>
> (1) Keep as is, with special case for android
> (2) Set PTHREAD_LIBS=$PTHREAD_CFLAGS in configure.ac
> (3) Do a giant sed to convert PTHREAD_LIBS to PTHREAD_CFLAGS in the entire
> tree
>
> Any strong preferences???
>
As mentioned before - I'm pretty sure we have places where we've
forgot the cflags/libs.

It's an issue on our end, so instead of working around it (by using
PTHREAD_CFLAGS as PTHREAD_LIBS) we could fix it.
Can you please give it a try ?

Thanks
Emil


More information about the mesa-dev mailing list