aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86_64/config.mk b/arch/x86_64/config.mk
index ecbef44..a0e27ab 100644
--- a/arch/x86_64/config.mk
+++ b/arch/x86_64/config.mk
@@ -1,2 +1,6 @@
+CFLAGS += -m32
+ASFLAGS += --32
+LDFLAGS += -melf_i386
+
CPPFLAGS += -DCHAR_IS_INT8 -DSHORT_IS_INT16 -DINT_IS_INT32
CPPFLAGS += -DENABLE_VGA