summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/Makefile')
-rw-r--r--libc/inet/rpc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/inet/rpc/Makefile b/libc/inet/rpc/Makefile
index a08cf89ea..72dba26c5 100644
--- a/libc/inet/rpc/Makefile
+++ b/libc/inet/rpc/Makefile
@@ -46,7 +46,13 @@ CSRC:=create_xid.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \
rpc_thread.c rcmd.c rexec.c sa_len.c ruserpass.c rtime.c \
getrpcent.c
endif
+
COBJS=$(patsubst %.c,%.o, $(CSRC))
+
+ifeq ($(UCLIBC_HAS_THREADS),y)
+CFLAGS += $(PTINC)
+endif
+
OBJS=$(COBJS)
OBJ_LIST=../../obj.inet.rpc