summaryrefslogtreecommitdiff
path: root/libc/misc/pthread/Makefile
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-04 00:29:14 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-04 00:29:14 +0000
commit8c7ac6fc362d2d958c97262032c7dbde3471b100 (patch)
treee809e1f42e7b9059aaec495db5be4c90c119157e /libc/misc/pthread/Makefile
parent30ad5a705dad5ac4ccae99cbd00c1a05863de4de (diff)
Clean up pthread include mess. Some of these will be needed to support NPTL, but they do no harm for the linuxthreads case. Yes, I tested this.
Diffstat (limited to 'libc/misc/pthread/Makefile')
-rw-r--r--libc/misc/pthread/Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/libc/misc/pthread/Makefile b/libc/misc/pthread/Makefile
index 0e432d308..e222e1442 100644
--- a/libc/misc/pthread/Makefile
+++ b/libc/misc/pthread/Makefile
@@ -19,16 +19,6 @@
TOPDIR=../../../
include $(TOPDIR)Rules.mak
-PTDIR = $(TOPDIR)libpthread/linuxthreads/
-SYSDEPINC = -I$(PTDIR)sysdeps/unix/sysv/linux \
- -I$(PTDIR)sysdeps/pthread \
- -I$(PTDIR)sysdeps/unix/sysv \
- -I$(PTDIR)sysdeps/unix/unix \
- -I$(PTDIR)sysdeps/$(TARGET_ARCH) \
- -I$(PTDIR)sysdeps \
- -I$(TOPDIR)libc/sysdeps/linux/$(TARGET_ARCH)
-CFLAGS += $(SYSDEPINC) -D_GNU_SOURCE
-
CSRC=no-tsd.c weaks.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)
@@ -41,7 +31,7 @@ $(OBJ_LIST): $(OBJS)
echo $(patsubst %, misc/pthread/%, $(OBJS)) > $(OBJ_LIST)
$(COBJS): %.o : %.c
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(CFLAGS) $(PTINC) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
clean: