summaryrefslogtreecommitdiff
path: root/libc/misc/internals/Makefile
diff options
context:
space:
mode:
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