Make coop-compiler use O2

This commit is contained in:
MysterD 2022-04-23 20:01:52 -07:00
parent 5983285e4b
commit 343076dec1

View file

@ -200,11 +200,11 @@ endif
ifeq ($(DEBUG),0) ifeq ($(DEBUG),0)
# Can't use O2 or higher right now for auto-builders, coop-compiler produces strange graphical errors # Can't use O2 or higher right now for auto-builders, coop-compiler produces strange graphical errors
# likely due to undefined behavior somewhere # likely due to undefined behavior somewhere
ifeq ($(WINDOWS_AUTO_BUILDER),1) #ifeq ($(WINDOWS_AUTO_BUILDER),1)
OPT_FLAGS := -O1 # OPT_FLAGS := -O1
else #else
OPT_FLAGS := -O2 OPT_FLAGS := -O2
endif #endif
else else
OPT_FLAGS := -O0 OPT_FLAGS := -O0
endif endif