OSDN Git Service

tests: Use -pthread in CFLAGS instead of -lpthread
authorTomasz Figa <tfiga@chromium.org>
Fri, 27 Jan 2017 07:21:19 +0000 (16:21 +0900)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 27 Jan 2017 16:18:02 +0000 (16:18 +0000)
commit8ef7e5b7026d06a803f0bf75fe323c14f142db3a
tree4980e7fa9fea6b7ed8da1884be60e2fcace34312
parent58459a57fa7202ca2c1f10607ac2d91c6c05f55f
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.

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
[Emil Velikov: rebase on top of previous commit]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
tests/exynos/Makefile.am
tests/modetest/Makefile.am
tests/nouveau/Makefile.am