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?a=commitdiff_plain;h=d6ddd153f6b4bfb1c2973d3d3232ce122634028d;p=pintos-anon 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 =