Browse Source

One more addition.

"Steven J. Hill" 18 years ago
parent
commit
de7d1814e1
1 changed files with 6 additions and 0 deletions
  1. 6 0
      libc/inet/rpc/Makefile

+ 6 - 0
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