1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

New optimization option for testing

Using gcc's option '-Og' (instead of '-O0') for testing/debugging.
This commit is contained in:
Roberto Ierusalimschy
2025-01-10 15:14:01 -03:00
parent 915c29f8bd
commit 429761d7d2
+1 -1
View File
@@ -63,7 +63,7 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC)
# ASAN_OPTIONS="detect_invalid_pointer_pairs=2".
# -fsanitize=undefined
# -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare
# TESTS= -DLUA_USER_H='"ltests.h"' -O0 -g
# TESTS= -DLUA_USER_H='"ltests.h"' -Og -g
LOCAL = $(TESTS) $(CWARNS)