diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-10 15:14:01 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-10 15:14:01 -0300 |
commit | 429761d7d29226dd0c220de9fdc7c28ea54d95c0 (patch) | |
tree | 05e910eeb54a408283e3dbae04fb453a66f6739e | |
parent | 915c29f8bd0d4b0435a4b51a6c7913f5e170d09e (diff) | |
download | lua-429761d7d29226dd0c220de9fdc7c28ea54d95c0.tar.gz lua-429761d7d29226dd0c220de9fdc7c28ea54d95c0.tar.bz2 lua-429761d7d29226dd0c220de9fdc7c28ea54d95c0.zip |
New optimization option for testing
Using gcc's option '-Og' (instead of '-O0') for testing/debugging.
-rw-r--r-- | makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC) | |||
63 | # ASAN_OPTIONS="detect_invalid_pointer_pairs=2". | 63 | # ASAN_OPTIONS="detect_invalid_pointer_pairs=2". |
64 | # -fsanitize=undefined | 64 | # -fsanitize=undefined |
65 | # -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare | 65 | # -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare |
66 | # TESTS= -DLUA_USER_H='"ltests.h"' -O0 -g | 66 | # TESTS= -DLUA_USER_H='"ltests.h"' -Og -g |
67 | 67 | ||
68 | 68 | ||
69 | LOCAL = $(TESTS) $(CWARNS) | 69 | LOCAL = $(TESTS) $(CWARNS) |