mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Reduce optimization level until undefined behavior can be found
This commit is contained in:
parent
ebbe1ef16c
commit
13ecef0b0a
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -384,7 +384,10 @@ MIPSBIT := -32
|
||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
OPT_FLAGS := -g
|
OPT_FLAGS := -g
|
||||||
else
|
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
|
endif
|
||||||
|
|
||||||
# Set BITS (32/64) to compile for
|
# Set BITS (32/64) to compile for
|
||||||
|
|
Loading…
Reference in a new issue