aboutsummaryrefslogtreecommitdiff
path: root/make-bootstrap-jim
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2023-07-13 08:29:37 +1000
committerSteve Bennett <steveb@workware.net.au>2023-07-13 08:32:17 +1000
commit067a64f3ffccf38cfadbfe0f906d59634f869352 (patch)
treedf9d9d94a851128ace22d661313bced469c204b0 /make-bootstrap-jim
parentc7c8f9b13436861037dbf1d5d57937207f47a153 (diff)
downloadjimtcl-067a64f3ffccf38cfadbfe0f906d59634f869352.zip
jimtcl-067a64f3ffccf38cfadbfe0f906d59634f869352.tar.gz
jimtcl-067a64f3ffccf38cfadbfe0f906d59634f869352.tar.bz2
core: Fix 'for' with JIM_OPTIMIZATION disabled
And allow -DJIM_TINY to disable optimisation, and use that with bootstrap jimsh. Fixes #273 Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'make-bootstrap-jim')
-rwxr-xr-xmake-bootstrap-jim2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-bootstrap-jim b/make-bootstrap-jim
index 0711e1d..67ac71b 100755
--- a/make-bootstrap-jim
+++ b/make-bootstrap-jim
@@ -49,7 +49,7 @@ allexts="bootstrap aio readdir regexp file glob exec posix clock array stdlib tc
echo "/* This is single source file, bootstrap version of Jim Tcl. See http://jim.tcl.tk/ */"
# define some core features
-for i in JIM_TCL_COMPAT JIM_ANSIC JIM_REGEXP HAVE_NO_AUTOCONF _JIMAUTOCONF_H; do
+for i in JIM_TCL_COMPAT JIM_ANSIC JIM_REGEXP HAVE_NO_AUTOCONF JIM_TINY _JIMAUTOCONF_H; do
echo "#define $i"
done
echo '#define TCL_LIBRARY "."'