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
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
This commit is contained in:
parent
96bf4c30e5
commit
d4188f29b1
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
|
@ -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 = \
|
||||||
|
|
Loading…
Reference in a new issue