Browse Source

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

feature/2015
Christian Kroll 15 years ago
parent
commit
5be9e80d14
  1. 2
      defaults.mk

2
defaults.mk

@ -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…
Cancel
Save