about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-05 16:41:33 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-05 16:41:33 +0100
commit314a3518ca84ac313017fa3dcf99dd0379db3606 (patch)
tree3f65acb580b0eeb9b0a1089ebb9df13251f227e6
parentccf177cc125e120b338612bbf24966faf3fd87fa (diff)
downloadchawan-314a3518ca84ac313017fa3dcf99dd0379db3606.tar.gz
Makefile: disable CONFIG_BIGNUM for QJS
We do only use BigInt, so the flag is no longer necessary.
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ea6045c4..645a30ae 100644
--- a/Makefile
+++ b/Makefile
@@ -24,8 +24,7 @@ $(OUTDIR)/$(TARGET)/bin/cha: lib/libquickjs.a src/*.nim src/**/*.nim res/* res/*
 		src/main.nim
 	ln -sf "$(OUTDIR)/$(TARGET)/bin/cha" cha
 
-CFLAGS = -g -Wall -O2 -DCONFIG_VERSION=\"$(shell cat lib/quickjs/VERSION)\" \
-	-DCONFIG_BIGNUM=1
+CFLAGS = -g -Wall -O2 -DCONFIG_VERSION=\"$(shell cat lib/quickjs/VERSION)\"
 QJSOBJ = $(OBJDIR)/quickjs
 $(QJSOBJ)/%.o: lib/quickjs/%.c
 	@mkdir -p "$(QJSOBJ)"