summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorzy <[email protected]>2023-12-05 02:41:55 -0500
committerzy <[email protected]>2023-12-05 02:41:55 -0500
commit520f8db7e58b96276106e0f9b95639307b0beb89 (patch)
tree94ddb9bbb180c0504eb93d853b3e8a59be6a9a99 /Makefile
parent81c65e41aa82455b94580fd0b755d597155ebf8b (diff)
userstack 多进程
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7f64ff1..8640e68 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ $(OUTPUT_DIR)/%: $(TDIR)/%.c
$(OUTPUT_DIR)/$(USTACK): $(TDIR)/$(USTACK).c
mkdir -p $(@D)
# $(CC) -g $(CFLAGS) -o $@ $< -lunwind -lunwind-x86_64
- $(CC) -g -O2 $(CFLAGS) -o $@ $<
+ $(CC) -g -O2 $(CFLAGS) -o $@ $< -lpthread
# $(SPID): $(TDIR)/stack-pid.c
# mkdir -p $(OUTPUT_DIR)