aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/makefile b/makefile
index d46e650c..ee56c672 100644
--- a/makefile
+++ b/makefile
@@ -57,8 +57,13 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC)
57 57
58# -pg -malign-double 58# -pg -malign-double
59# -DLUA_USE_CTYPE -DLUA_USE_APICHECK 59# -DLUA_USE_CTYPE -DLUA_USE_APICHECK
60# ('-ftrapv' for runtime checks of integer overflows) 60
61# -fsanitize=undefined -ftrapv -fno-inline 61# The following options help detect "undefined behavior"s that seldom
62# create problems; some are only available in newer gcc versions. To
63# use some of them, we also have to define an enrivonment variable
64# ASAN_OPTIONS="detect_invalid_pointer_pairs=2".
65# -fsanitize=undefined
66# -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare
62# TESTS= -DLUA_USER_H='"ltests.h"' -O0 -g 67# TESTS= -DLUA_USER_H='"ltests.h"' -O0 -g
63 68
64 69