summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 30dfd69b8..86ea38d7a 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -378,9 +378,12 @@ gcc_tls_test_fail:
endif
else
PTINC := \
+ -I$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH) \
-I$(PTDIR)/sysdeps/$(TARGET_ARCH) \
+ -I$(PTDIR)/sysdeps/unix/sysv/linux \
-I$(PTDIR)/sysdeps/pthread \
- -I$(PTDIR)
+ -I$(PTDIR) \
+ -I$(top_builddir)libpthread
endif
CFLAGS+=$(PTINC)
else