chore: remove -Dpreview_mt from Makefile as it has been deprecated by the Crystal compiler.

Crystal 1.21.0 now features execution contexts, they do not longer support (and recommend) the `-Dpreview_mt` build flag. It also worked really bad and it made Invidious to hang on high load.
This commit is contained in:
Fijxu
2026-08-02 16:54:22 -04:00
parent ad4b1c69ce
commit 2acee823b5

View File

@@ -24,11 +24,6 @@ ifeq ($(STATIC), 1)
FLAGS += --static FLAGS += --static
endif endif
ifeq ($(MT), 1)
FLAGS += -Dpreview_mt
endif
ifeq ($(NO_DBG_SYMBOLS), 1) ifeq ($(NO_DBG_SYMBOLS), 1)
FLAGS += --no-debug FLAGS += --no-debug
else else