summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Harley2020-01-11 22:55:19 +0000
committerTom Harley2020-01-11 22:55:19 +0000
commit9daf92178a175e2b40722d0becb732923fe262c5 (patch)
treea0290a7a1dedf7b99b3a1798825710221556c40a /Makefile
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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 86068b0..15819ee 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ INSTALL = install -c
DEBUG = -ggdb3 -DGC_DEBUG
RELEASE = -O2 -DNDEBUG
-CFLAGS = --std=c99 -Wpedantic -Wall -Wextra -Werror $(RELEASE)
+CFLAGS = --std=c99 -Wpedantic -Wall -Wextra -Werror $(DEBUG)
LFLAGS = -D_POSIX_C_SOURCE=200809L
LLVM_MODULES = core executionengine mcjit interpreter analysis native bitwriter