diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-04 15:25:39 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-04 15:25:39 +0000 |
commit | c0b31e50087228fd0efd17b4703e1fc3099cb3b9 (patch) | |
tree | d096ea49ce7f35362aef00d1f330867f557980fc /Rules.mak | |
parent | 75e3be2c706ebd829b5d544dd20b4a00ac4520ea (diff) |
Use PTDIR in libpthread/Makefile too, add new PTNAME being nptl or linuxthreads. sjhill, I know you kill my keyboard, but please read my added comments, thanks.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -304,10 +304,17 @@ else endif ifeq ($(UCLIBC_HAS_THREADS),y) +ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y) + PTNAME := nptl +else + PTNAME := linuxthreads +endif +PTDIR := $(TOPDIR)libpthread/$(PTNAME) # set up system dependencies include dirs (NOTE: order matters!) -PTDIR := $(TOPDIR)libpthread/linuxthreads/ -PTINC := -I$(PTDIR)sysdeps/pthread \ - -I$(PTDIR)sysdeps/$(TARGET_ARCH) +# psm: the next 2 are probably incorrect, the generic header will +# win over the arch specific one +PTINC := -I$(PTDIR)/sysdeps/pthread \ + -I$(PTDIR)/sysdeps/$(TARGET_ARCH) endif ifeq ($(UCLIBC_BUILD_RELRO),y) |