summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTom Harley2020-01-11 22:55:19 +0000
committerTom Harley2020-01-11 22:55:19 +0000
commit9daf92178a175e2b40722d0becb732923fe262c5 (patch)
treea0290a7a1dedf7b99b3a1798825710221556c40a /examples
parentRename compiler to sinc (diff)
downloadsinter-9daf92178a175e2b40722d0becb732923fe262c5.tar.gz
sinter-9daf92178a175e2b40722d0becb732923fe262c5.zip

Make tail recursion mod cons toggleable

The tail recursion mod cons optimisation must now be enabled explicitly using -O tail-recursion-mod-cons.

Diffstat (limited to 'examples')
-rw-r--r--examples/nq/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nq/Makefile b/examples/nq/Makefile
index 3939123..fb51b90 100644
--- a/examples/nq/Makefile
+++ b/examples/nq/Makefile
@@ -8,7 +8,7 @@ LDFLAGS = $(DEBUG) -L$(HOME)/usr/lib
LDLIBS = -lgc
LLCFLAGS = -O0
-SINCFLAGS = -u never -w 32
+SINCFLAGS = -u never -w 32 -O tail-recursive-mod-cons
TRGT = nqueens