diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-10-04 00:29:14 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-10-04 00:29:14 +0000 |
commit | 8c7ac6fc362d2d958c97262032c7dbde3471b100 (patch) | |
tree | e809e1f42e7b9059aaec495db5be4c90c119157e /Rules.mak | |
parent | 30ad5a705dad5ac4ccae99cbd00c1a05863de4de (diff) |
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.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |