diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-01 11:19:10 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-01 11:19:10 +0000 |
commit | 6bd321dfd676de41918f9cf0ee6ecbda8a25a5a9 (patch) | |
tree | fabdebd49ec28a8caa199e06f98a6966f58d114d /libc | |
parent | efbcf025d22d7700239e91662190098be8c0e488 (diff) |
weaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header issue
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/rpc/Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/inet/rpc/Makefile.in b/libc/inet/rpc/Makefile.in index e28070c28..32a96c940 100644 --- a/libc/inet/rpc/Makefile.in +++ b/libc/inet/rpc/Makefile.in @@ -26,12 +26,18 @@ INET_RPC_SRC:=$(wildcard $(INET_RPC_DIR)/*.c) else INET_RPC_SRC:=$(patsubst %.c,$(INET_RPC_DIR)/%.c,$(CSRC)) endif +# rpc_thread.oS is better, because the header adds unneeded references to __pthread_internal_tsd* +INET_RPC_SRC:=$(filter-out $(INET_RPC_DIR)/rpc_thread.c,$(INET_RPC_SRC)) + INET_RPC_OBJ:=$(patsubst $(INET_RPC_DIR)/%.c,$(INET_RPC_OUT)/%.o,$(INET_RPC_SRC)) +libc-static-$(UCLIBC_HAS_RPC)+=$(INET_RPC_OUT)/rpc_thread.o +libc-shared-$(UCLIBC_HAS_RPC)+=$(INET_RPC_OUT)/rpc_thread.oS + libc-a-$(UCLIBC_HAS_RPC)+=$(INET_RPC_OBJ) libc-so-$(UCLIBC_HAS_RPC)+=$(INET_RPC_OBJ:.o=.os) objclean-y+=inet_rpc_objclean inet_rpc_objclean: - $(RM) $(INET_RPC_OUT)/*.{o,os} + $(RM) $(INET_RPC_OUT)/*.{o,os,oS} |