summaryrefslogtreecommitdiff
path: root/makefiledir
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-20 13:48:04 +0000
committertruelight <truelight@openttd.org>2006-08-20 13:48:04 +0000
commitf73b17323eefc9f8b3c2e992d57ed5f631bf72f6 (patch)
tree921925981de00629f1e983eaa3e59cb4b02c85f8 /makefiledir
parenta06d5548ebe58ab290be50ca4b31368db5f4bc10 (diff)
downloadopenttd-f73b17323eefc9f8b3c2e992d57ed5f631bf72f6.tar.xz
(svn r5978) -Add: allow a switch in Makefile.config to disable threads in OpenTTD (no matter what system you are on). Only useful for testing.
Diffstat (limited to 'makefiledir')
-rw-r--r--makefiledir/Makefile.config_writer2
1 files changed, 2 insertions, 0 deletions
diff --git a/makefiledir/Makefile.config_writer b/makefiledir/Makefile.config_writer
index b0dd83b4b..166973b53 100644
--- a/makefiledir/Makefile.config_writer
+++ b/makefiledir/Makefile.config_writer
@@ -32,6 +32,8 @@ $(MAKE_CONFIG):
$(call CONFIG_LINE,\# Disable asserts. Leave them on for easier bug finding)
$(call CONFIG_LINE,DISABLE_ASSERTS:=$(DISABLE_ASSERTS))
+ $(call CONFIG_LINE,\# Disable threads. Useful if you do not like it and for testing)
+ $(call CONFIG_LINE,NO_THREADS:=$(NO_THREADS))
$(call CONFIG_LINE,)
$(call CONFIG_LINE,\# See Makefile for details on these paths)