random: Fix behavior of kernel option "-rs".
[pintos-anon] / src / Make.config
index 40feba6347ec7b6b6f7ab2a396cd64886bab7c17..e0afafbc9d77e15a98e3d0423a7d0d9344d3f5b7 100644 (file)
@@ -33,10 +33,10 @@ endif
 # Compiler and assembler invocation.
 DEFINES =
 WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers
-CFLAGS = -g -msoft-float -O
+CFLAGS = -g -msoft-float -O -march=i686
 CPPFLAGS = -nostdinc -I$(SRCDIR) -I$(SRCDIR)/lib
 ASFLAGS = -Wa,--gstabs
-LDFLAGS = 
+LDFLAGS = -z noseparate-code
 DEPS = -MMD -MF $(@:.o=.d)
 
 # Turn off -fstack-protector, which we don't support.