Re: [PATCH libdrm] tests: Use -pthread in CFLAGS instead of -lpthread

2017-01-27 Thread Emil Velikov
On 27 January 2017 at 07:21, Tomasz Figa wrote: > -lpthread is not always a valid flag to pull pthread support, especially > on Android it will fail to link due to a missing libpthread.so. The more > generic way to build-in pthread support is to use the -pthread CFLAG, so > let's use it instead. >

[PATCH libdrm] tests: Use -pthread in CFLAGS instead of -lpthread

2017-01-26 Thread Tomasz Figa
-lpthread is not always a valid flag to pull pthread support, especially on Android it will fail to link due to a missing libpthread.so. The more generic way to build-in pthread support is to use the -pthread CFLAG, so let's use it instead. Signed-off-by: Tomasz Figa --- tests/exynos/Makefile.am