summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-06 02:24:21 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-06 02:24:21 +0000
commitf9edc7cfe363132cfb1edb69299b8a1f59d29069 (patch)
treef7c6fb77ec5802cf2627bdb9d8dcd31982cf62ac
parentaab07d0500d06e1de93280cb9900b24fd0c0875b (diff)
Fix includes for NPTL thread model.
-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.