protected mode debugging
[bootcensus] / Makefile
index 7e0f1b0..7fa61b9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,8 @@ warn = -pedantic -Wall
 dbg = -g
 inc = -Isrc -Isrc/libc
 
-CFLAGS = $(ccarch) $(warn) $(dbg) -nostdinc -fno-builtin $(inc) $(def)
-ASFLAGS = $(asarch) $(dbg) -nostdinc -fno-builtin $(inc)
+CFLAGS = $(ccarch) -march=i386 $(warn) $(dbg) -nostdinc -fno-builtin $(inc) $(def)
+ASFLAGS = $(asarch) -march=i386 $(dbg) -nostdinc -fno-builtin $(inc)
 LDFLAGS = $(ldarch) -T pcboot.ld -print-gc-sections