summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/alpha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/alpha/Makefile')
-rw-r--r--libc/sysdeps/linux/alpha/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/alpha/Makefile b/libc/sysdeps/linux/alpha/Makefile
index c37858380..45e2ece62 100644
--- a/libc/sysdeps/linux/alpha/Makefile
+++ b/libc/sysdeps/linux/alpha/Makefile
@@ -32,6 +32,10 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(SOBJS) $(COBJS)
+ifeq ($(PTHREADS_NATIVE),y)
+COBJS += $(PTDIR)sysdeps/$(TARGET_ARCH)/libc-tls.o
+endif
+
OBJ_LIST=../../../obj.sysdeps.$(TARGET_ARCH)
all: $(OBJ_LIST)
@@ -76,6 +80,11 @@ $(TOPDIR)lib/crtn.o:
$(AR) $(ARFLAGS) $(TOPDIR)lib/crtn.o
endif
+ifeq ($(PTHREADS_NATIVE),y)
+$(PTDIR)sysdeps/$(TARGET_ARCH)/libc-tls.o:
+ $(MAKE) -C $(PTDIR)sysdeps/$(TARGET_ARCH) libc-tls.o
+endif
+
headers:
$(LN) -fs ../libc/sysdeps/linux/alpha/fpu_control.h $(TOPDIR)/include/