summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cd155a6f1..379f92ab2 100644
--- a/Makefile
+++ b/Makefile
@@ -511,6 +511,10 @@ ifdef DISABLE_ASSERTS
CFLAGS += -DNDEBUG
endif
+ifdef NO_THREADS
+CFLAGS += -DNO_THREADS
+endif
+
# automatically disables asserts for release
ifdef RELEASE
ifndef ENABLE_ASSERTS