about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-04-02 19:54:39 +0200
committerbptato <nincsnevem662@gmail.com>2024-04-02 20:01:45 +0200
commitaf92dd1711181586a58843216e5fdd9c48876e59 (patch)
tree9e3cc73222990c4cd053d92b25ee8fd012e0460a
parent481894279a86064ddfb1afddeae944f2e4bffb77 (diff)
downloadchawan-af92dd1711181586a58843216e5fdd9c48876e59.tar.gz
Makefile: use -O2 for gmifetch
-O3 takes ages to compile on slower computers, and it makes roughly zero
difference in performance
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d575ee0a..988b42d5 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ $(OUTDIR_LIBEXEC)/ansi2html: adapter/format/ansi2html.nim src/types/color.nim \
 	$(NIMC) $(FLAGS) --nimcache:"$(OBJDIR)/$(TARGET)/ansi2html" \
 		-o:"$(OUTDIR_LIBEXEC)/ansi2html" adapter/format/ansi2html.nim
 
-GMIFETCH_CFLAGS = -Wall -Wextra -std=c89 -pedantic -g -O3 $$(pkg-config --cflags libssl) $$(pkg-config --cflags libcrypto)
+GMIFETCH_CFLAGS = -Wall -Wextra -std=c89 -pedantic -g -O2 $$(pkg-config --cflags libssl) $$(pkg-config --cflags libcrypto)
 GMIFETCH_LDFLAGS = $$(pkg-config --libs libssl) $$(pkg-config --libs libcrypto)
 $(OUTDIR_CGI_BIN)/gmifetch: adapter/protocol/gmifetch.c
 	@mkdir -p "$(OUTDIR_CGI_BIN)"