don't use -O2 for the simulator (makes debugging hard)
This commit is contained in:
parent
d8fe1c66d2
commit
5be9e80d14
|
@ -37,7 +37,7 @@ ifeq ($(OSTYPE),cygwin)
|
|||
LDFLAGS_SIM = -Wl -mno-cygwin -T simulator/i386pe.x
|
||||
LIBS_SIM = -lglut32 -lglu32 -lopengl32
|
||||
else
|
||||
CFLAGS_SIM = -g -Wall -pedantic -std=c99 -O2
|
||||
CFLAGS_SIM = -g -Wall -pedantic -std=c99 -O0
|
||||
ifeq ($(MACHINE),x86_64)
|
||||
LDFLAGS_SIM = -Wl -T simulator/elf_x86_64.x
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue