mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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 <jjm2473@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libtirpc
|
||||
PKG_VERSION:=1.2.6
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=@SF/libtirpc
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
@@ -30,6 +30,10 @@ endef
|
||||
CONFIGURE_ARGS += --disable-gssapi
|
||||
HOST_CONFIGURE_ARGS += --disable-gssapi
|
||||
|
||||
ifeq ($(HOST_OS),Darwin)
|
||||
HOST_CONFIGURE_ARGS += --disable-symvers
|
||||
endif
|
||||
|
||||
TARGET_CFLAGS += -DGQ
|
||||
HOST_CFLAGS += -DGQ
|
||||
|
||||
|
||||
Reference in New Issue
Block a user