OSDN Git Service

One more addition.
author"Steven J. Hill" <sjhill@realitydiluted.com>
Tue, 4 Oct 2005 00:45:44 +0000 (00:45 -0000)
committer"Steven J. Hill" <sjhill@realitydiluted.com>
Tue, 4 Oct 2005 00:45:44 +0000 (00:45 -0000)
libc/inet/rpc/Makefile

index a08cf89..72dba26 100644 (file)
@@ -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