libs/libtirpc: fix host compile with clang 12.0.0
authorLiangbin Lian <redacted>
Wed, 18 Nov 2020 15:20:38 +0000 (23:20 +0800)
committerLiangbin Lian <redacted>
Wed, 18 Nov 2020 15:20:38 +0000 (23:20 +0800)
commit1a9323064ccf140f7ec7ac6fc2540ec83cf4fd1c
treecf8dba08cfc7482af3d71af3be70d18fa55a9eac
parent78dd3e05a8e4be0625bade05eb1831cb319df34c
libs/libtirpc: fix host compile with clang 12.0.0

1.clang ld not supports symvers
2.macos has not mutex_lock, use pthread_mutex_lock instead
3.macos not define SO_PEERCRED, use LOCAL_PEERCRED instead

Signed-off-by: Liangbin Lian <redacted>
libs/libtirpc/Makefile
libs/libtirpc/patches/001-clang.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT