From 47d22a238a6c5d60c6abfac724e6ad91885cdd67 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Fri, 29 Aug 2014 19:56:40 +0200 Subject: added paging support --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a52fe12..653b9e9 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ kernel_entry.o: boot/kernel_entry.asm kernel.o: kernel/kernel.c kernel/console.h - gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0 + gcc -ffreestanding -std=gnu99 -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0 x86.o: kernel/x86.c gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0 @@ -54,10 +54,10 @@ floppy.o: kernel/floppy.c gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0 vmem.o: kernel/vmem.c - gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0 + gcc -ffreestanding -std=gnu99 -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0 mem.o: kernel/mem.c - gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0 + gcc -ffreestanding --std=gnu99 -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0 e1000.o: kernel/e1000.c gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0 -- cgit v1.2.3