don't use -O2 for the simulator (makes debugging hard)

This commit is contained in:
Christian Kroll 2009-10-31 15:12:19 +00:00
parent d8fe1c66d2
commit 5be9e80d14
1 changed files with 1 additions and 1 deletions

View File

@ -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