aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-02-06 23:10:15 +0100
committerbptato <nincsnevem662@gmail.com>2024-02-06 23:14:49 +0100
commit0beb8385d88c20efbd00b7f9e6ac57bf19a109c7 (patch)
tree8e79b4fbbab418383c45f6d4459eca3ef0cf4bb3 /Makefile
parentcef7699b4d4fe1a5815f527fe1994e0f6ab4c8e7 (diff)
downloadchawan-0beb8385d88c20efbd00b7f9e6ac57bf19a109c7.tar.gz
nim.cfg: disable threads
We do not use threads at the moment, so there's no need to link to pthreads either. (Also, add nim.cfg to the cha target in the Makefile.)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 50c34085..1f4c0f97 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ all: $(OUTDIR_BIN)/cha $(OUTDIR_BIN)/mancha $(OUTDIR_CGI_BIN)/http \
$(OUTDIR_LIBEXEC)/md2html
$(OUTDIR_BIN)/cha: lib/libquickjs.a src/*.nim src/**/*.nim src/**/*.c res/* \
- res/**/* res/map/idna_gen.nim
+ res/**/* res/map/idna_gen.nim nim.cfg
@mkdir -p "$(OUTDIR_BIN)"
$(NIMC) --nimcache:"$(OBJDIR)/$(TARGET)/cha" -d:libexecPath=$(LIBEXECDIR) \
$(FLAGS) -o:"$(OUTDIR_BIN)/cha" src/main.nim