Reduce optimization level until undefined behavior can be found

This commit is contained in:
MysterD 2022-02-20 14:53:10 -08:00
parent d01cddb651
commit eeb57cca62
1 changed files with 4 additions and 1 deletions

View File

@ -384,7 +384,10 @@ MIPSBIT := -32
ifeq ($(DEBUG),1)
OPT_FLAGS := -g
else
OPT_FLAGS := -O2
# can't use O2 right now, coop-compiler produces strange graphical errors
# likely due to undefined behavior somewhere
#OPT_FLAGS := -O2
OPT_FLAGS := -O1
endif
# Set BITS (32/64) to compile for