diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2024-10-09 18:07:04 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2024-10-09 18:37:08 +0200 |
| commit | f51a3b8d2b52f83057d0b3be5686149984e66ada (patch) | |
| tree | 477b7d38f36ff3891468cc5b5e7413ae726755e3 | |
| parent | a88a723de3a3d96d8ff748cb117ae48265ee552c (diff) | |
| download | invidious-f51a3b8d2b52f83057d0b3be5686149984e66ada.tar.gz invidious-f51a3b8d2b52f83057d0b3be5686149984e66ada.tar.bz2 invidious-f51a3b8d2b52f83057d0b3be5686149984e66ada.zip | |
Makefile: Add MT option to enable the 'preview_mt' flag
| -rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -7,6 +7,11 @@ STATIC := 0 NO_DBG_SYMBOLS := 0 +# Enable multi-threading. +# Warning: Experimental feature!! +# invidious is not stable when MT is enabled. +MT := 0 + FLAGS ?= @@ -19,6 +24,10 @@ ifeq ($(STATIC), 1) FLAGS += --static endif +ifeq ($(MT), 1) + FLAGS += -Dpreview_mt +endif + ifeq ($(NO_DBG_SYMBOLS), 1) FLAGS += --no-debug |
