]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pidfd: Fix undefined reference to pthread_create()
authorShuah Khan <skhan@linuxfoundation.org>
Tue, 24 Sep 2019 19:52:37 +0000 (13:52 -0600)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 30 Sep 2019 20:32:55 +0000 (22:32 +0200)
commitfcfe6bb38b7456d7aa935356adea00be3d3f5b6d
tree67df037000b701066d813c6b4aedb73fbee8f172
parentaa81e189f0f08dcdf0b4ec6ff1b25fa48c127658
selftests: pidfd: Fix undefined reference to pthread_create()

Fix build failure:

undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status

Fix CFLAGS to include pthread correctly.

Fixes: 24beec2ee41c ("pidfd: add polling selftests")
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20190924195237.30519-1-skhan@linuxfoundation.org
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
tools/testing/selftests/pidfd/Makefile