summaryrefslogtreecommitdiff
path: root/libc/stdio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/Makefile')
-rw-r--r--libc/stdio/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdio/Makefile b/libc/stdio/Makefile
index b737410d9..91a011eed 100644
--- a/libc/stdio/Makefile
+++ b/libc/stdio/Makefile
@@ -116,6 +116,10 @@ ifeq ($(strip $(UCLIBC_HAS_LFS)),y)
OBJS += $(CLOBJS)
endif
+ifeq ($(UCLIBC_HAS_THREADS),y)
+CFLAGS += $(PTINC)
+endif
+
OBJ_LIST=../obj.stdio
all: $(OBJ_LIST)