From: Ben Pfaff Date: Thu, 5 Oct 2006 01:14:14 +0000 (+0000) Subject: Add -O to CFLAGS to try to catch uninitialized variable errors. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=commitdiff_plain;h=2dc702a30822c4773989f3bf5bc730848c0f473c Add -O to CFLAGS to try to catch uninitialized variable errors. --- diff --git a/src/Make.config b/src/Make.config index 91c14d0..becc474 100644 --- a/src/Make.config +++ b/src/Make.config @@ -33,7 +33,7 @@ endif # Compiler and assembler invocation. DEFINES = WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers -CFLAGS = -g -MMD -msoft-float +CFLAGS = -g -MMD -msoft-float -O CPPFLAGS = -nostdinc -I$(SRCDIR) -I$(SRCDIR)/lib ASFLAGS = -Wa,--gstabs -MMD LDFLAGS =