summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 86ea38d7a..bad4f5f7e 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -349,7 +349,7 @@ endif
PTDIR := $(top_builddir)libpthread/$(PTNAME)
# set up system dependencies include dirs (NOTE: order matters!)
ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
-PTINC := \
+PTINC:= -I$(PTDIR) \
-I$(PTDIR)/compat \
-I$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH) \
-I$(PTDIR)/sysdeps/$(TARGET_ARCH) \
@@ -357,7 +357,8 @@ PTINC := \
-I$(PTDIR)/sysdeps/pthread \
-I$(PTDIR)/sysdeps/pthread/bits \
-I$(PTDIR)/sysdeps/generic \
- -Ildso/include \
+ -I$(top_srcdir)ldso/ldso/$(TARGET_ARCH) \
+ -I$(top_srcdir)ldso/include \
-include $(PTDIR)/compat/libc-symbols.h
#
# Test for TLS if NPTL support was selected.