From 034762e7caf8e8aa8ad20cf1a81c9582876e14d6 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 19 Sep 2020 23:28:47 +0200 Subject: Wrroooooooom, I'm faster. ig --- kernel/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kernel/Makefile') diff --git a/kernel/Makefile b/kernel/Makefile index 1487ae3..e14d04e 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -21,8 +21,7 @@ LD = ../cross/opt/bin/i686-elf-ld OC = ../cross/opt/bin/i686-elf-objcopy AS = nasm -# TODO: Fix -Ofast (probably some dumb memory overflow bug) -CFLAGS = -Wall -Wextra -nostdlib -nostdinc -ffreestanding -fno-builtin -fno-asynchronous-unwind-tables -mno-red-zone -mgeneral-regs-only -mpreferred-stack-boundary=2 -std=c99 -m32 -pedantic-errors -Wl,-ekernel_main -I../libc/inc/ -Iinc/ -Dkernel -O0 +CFLAGS = -Wall -Wextra -nostdlib -nostdinc -ffreestanding -fno-builtin -mno-red-zone -mgeneral-regs-only -std=c99 -m32 -pedantic-errors -Wl,-ekernel_main -I../libc/inc/ -Iinc/ -Dkernel -Ofast ASFLAGS = -f elf32 -- cgit v1.2.3