openssh: fix pthread functions redefine with pam module
authorGuo Li <uxgood.org@gmail.com>
Sat, 8 Sep 2018 11:04:04 +0000 (19:04 +0800)
committertripolar <tripolar@users.noreply.github.com>
Thu, 15 Aug 2019 09:54:09 +0000 (11:54 +0200)
commitd921407d427df5b3e5caf4160d262e3adac35d6c
treea96404798506a752bad1af389016d5cda4d31063
parentdf3d2312c62a48825b01adc1a173b1ce0bf63f1f
openssh: fix pthread functions redefine with pam module

we should pass -DUNSUPPORTED_POSIX_THREADS_HACK to CFLAGS to openssh
to prevent function redefine, I don't know why pam module use
micro UNSUPPORTED_POSIX_THREADS_HACK to detect whether define
pthread functions, but not detect whether define
UNSUPPORTED_POSIX_THREADS_HACK.

Signed-off-by: Guo Li <uxgood.org@gmail.com>
net/openssh/Makefile