From 6a2ae067fc577754bda60f5b4c2878bf9b0ae26c Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 6 Mar 2017 22:25:03 +0100 Subject: move architecture-specific compiler flags Architecture-specific compiler flags are now located in arch/*/config.mk instead of the main config.mk. --- arch/x86_64/config.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/x86_64') 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 -- cgit v1.2.3