FROMLIST: tests: Use -pthread in CFLAGS instead of -lpthread

-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.

(am from https://patchwork.freedesktop.org/patch/135650/)

BUG=b:26864637
TEST=emerge-samus arc-libdrm

Change-Id: Iec375f66a666a056e1cba79272e7b621d96637cd
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/422809
Reviewed-by: Mike Frysinger <vapier@chromium.org>
3 files changed