commit | 8ef7e5b7026d06a803f0bf75fe323c14f142db3a | [log] [tgz] |
---|---|---|
author | Tomasz Figa <tfiga@chromium.org> | Fri Jan 27 16:21:19 2017 +0900 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Fri Jan 27 16:18:02 2017 +0000 |
tree | 4980e7fa9fea6b7ed8da1884be60e2fcace34312 | |
parent | 58459a57fa7202ca2c1f10607ac2d91c6c05f55f [diff] |
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>