Add -O to CFLAGS to try to catch uninitialized variable errors.
[pintos-anon] / src / Make.config
index 91c14d00623696983a47483f970e55a590f9bea3..becc4744728a84bad482f1dec78d3d638c951968 100644 (file)
@@ -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 =