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 The more
generic way to build-in pthread support is to use the -pthread CFLAG, so
let's use it instead.

(am from

TEST=emerge-samus arc-libdrm

Change-Id: Iec375f66a666a056e1cba79272e7b621d96637cd
Signed-off-by: Tomasz Figa <>
Reviewed-by: Mike Frysinger <>
3 files changed