From 5be9e80d14ea67549d2081ec87e28fc9e0056017 Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Sat, 31 Oct 2009 15:12:19 +0000 Subject: [PATCH] don't use -O2 for the simulator (makes debugging hard) --- defaults.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults.mk b/defaults.mk index e553632..98eeb8e 100644 --- a/defaults.mk +++ b/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