aboutsummaryrefslogtreecommitdiff
path: root/kernel/Makefile
diff options
context:
space:
mode:
authorMarvin Borner2020-09-12 20:44:19 +0200
committerMarvin Borner2020-09-12 20:44:19 +0200
commit52ca9e4f610e65077cb2fab7c1ed0e802fa4ac59 (patch)
tree2b7bc44d0d658e88a3f6b8f9593c15895c04a636 /kernel/Makefile
parent9df62e1f972784d87d01baa0ad950c005f41061a (diff)
Fixed vbe parameter in ext2 loader
Diffstat (limited to 'kernel/Makefile')
-rw-r--r--kernel/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index 353a339..f91839a 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -20,10 +20,7 @@ LD = ../cross/opt/bin/i686-elf-ld
OC = ../cross/opt/bin/i686-elf-objcopy
AS = nasm
-# Flags to make the binary smaller TODO: Remove after indirect pointer support!
-CSFLAGS = -mpreferred-stack-boundary=2 -fno-asynchronous-unwind-tables -Os
-
-CFLAGS = $(CSFLAGS) -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
+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 -Os
ASFLAGS = -f elf32