Use -Og instead of -O0 in Debug builds
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s

This commit is contained in:
Stephen Seo 2023-08-18 14:51:53 +09:00
parent 96bf4c30e5
commit d4188f29b1
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
ifdef DEBUG ifdef DEBUG
COMMON_FLAGS = -g -O0 COMMON_FLAGS = -g -Og
else else
COMMON_FLAGS = -DNDEBUG -O3 COMMON_FLAGS = -DNDEBUG -O3
endif endif

View file

@ -1,7 +1,7 @@
ifdef RELEASE ifdef RELEASE
OTHER_FLAGS = -DNDEBUG -O3 OTHER_FLAGS = -DNDEBUG -O3
else else
OTHER_FLAGS = -O0 OTHER_FLAGS = -Og
endif endif
SOURCES = \ SOURCES = \