From 8c7ac6fc362d2d958c97262032c7dbde3471b100 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 4 Oct 2005 00:29:14 +0000 Subject: Clean up pthread include mess. Some of these will be needed to support NPTL, but they do no harm for the linuxthreads case. Yes, I tested this. --- Rules.mak | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 7d864e392..d3399b296 100644 --- a/Rules.mak +++ b/Rules.mak @@ -303,6 +303,13 @@ else LDFLAGS := $(LDFLAGS_NOSTRIP) -s endif +ifeq ($(UCLIBC_HAS_THREADS),y) +# set up system dependencies include dirs (NOTE: order matters!) +PTDIR := $(TOPDIR)libpthread/linuxthreads/ +PTINC := -I$(PTDIR)sysdeps/pthread \ + -I$(PTDIR)sysdeps/$(TARGET_ARCH) +endif + ifeq ($(UCLIBC_BUILD_RELRO),y) LDFLAGS+=-z relro endif -- cgit v1.2.3