Fix the build

This commit is contained in:
Justine Tunney 2022-09-10 19:57:50 -07:00
parent 5dff63a31c
commit 3de35e196c
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 9 additions and 2 deletions

View file

@ -7,7 +7,6 @@ LIBC_THREAD_ARTIFACTS += LIBC_THREAD_A
LIBC_THREAD = $(LIBC_THREAD_A_DEPS) $(LIBC_THREAD_A)
LIBC_THREAD_A = o/$(MODE)/libc/thread/thread.a
LIBC_THREAD_A_FILES := $(wildcard libc/thread/*)
LIBC_THREAD_A_HDRS = $(filter %.h,$(LIBC_THREAD_A_FILES))
LIBC_THREAD_A_SRCS_S = $(filter %.S,$(LIBC_THREAD_A_FILES))
LIBC_THREAD_A_SRCS_C = $(filter %.c,$(LIBC_THREAD_A_FILES))
@ -15,6 +14,13 @@ LIBC_THREAD_A_SRCS = \
$(LIBC_THREAD_A_SRCS_S) \
$(LIBC_THREAD_A_SRCS_C)
LIBC_THREAD_A_HDRS = \
libc/thread/spawn.h \
libc/thread/thread.h \
libc/thread/thread2.h \
libc/thread/tls.h \
libc/thread/tls2.h
LIBC_THREAD_A_OBJS = \
$(LIBC_THREAD_A_SRCS_S:%.S=o/$(MODE)/%.o) \
$(LIBC_THREAD_A_SRCS_C:%.c=o/$(MODE)/%.o)