diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-06 23:10:15 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-06 23:14:49 +0100 |
commit | 0beb8385d88c20efbd00b7f9e6ac57bf19a109c7 (patch) | |
tree | 8e79b4fbbab418383c45f6d4459eca3ef0cf4bb3 | |
parent | cef7699b4d4fe1a5815f527fe1994e0f6ab4c8e7 (diff) | |
download | chawan-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.)
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | nim.cfg | 1 |
2 files changed, 2 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 diff --git a/nim.cfg b/nim.cfg index 8d2b1b6c..4338e32d 100644 --- a/nim.cfg +++ b/nim.cfg @@ -9,3 +9,4 @@ --import:"utils/eprint" --styleCheck:usages --styleCheck:hint +--threads:off |