summaryrefslogtreecommitdiff
path: root/libc/misc/internals/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/internals/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/internals/Makefile')
-rw-r--r--libc/misc/internals/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile
index fee3eca70..1df05a934 100644
--- a/libc/misc/internals/Makefile
+++ b/libc/misc/internals/Makefile
@@ -31,6 +31,10 @@ __uClibc_main.o: CFLAGS += $(SSP_DISABLE_FLAGS)
OBJS=$(COBJS)
+ifeq ($(UCLIBC_HAS_THREADS),y)
+CFLAGS += $(PTINC)
+endif
+
OBJ_LIST=../../obj.misc.internals
all: $(OBJ_LIST) interp.o static.o