aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMarvin Borner2020-09-12 20:44:19 +0200
committerMarvin Borner2020-09-12 20:44:19 +0200
commit52ca9e4f610e65077cb2fab7c1ed0e802fa4ac59 (patch)
tree2b7bc44d0d658e88a3f6b8f9593c15895c04a636 /libc
parent9df62e1f972784d87d01baa0ad950c005f41061a (diff)
Fixed vbe parameter in ext2 loader
Diffstat (limited to 'libc')
-rw-r--r--libc/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 3458256..cbc2fc9 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -16,10 +16,7 @@ LD = ../cross/opt/bin/i686-elf-ld
AR = ../cross/opt/bin/i686-elf-ar
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 -fno-builtin -mno-red-zone -mgeneral-regs-only -std=c99 -m32 -pedantic-errors -Iinc/
+CFLAGS = -Wall -Wextra -nostdlib -nostdinc -fno-builtin -fno-asynchronous-unwind-tables -mno-red-zone -mgeneral-regs-only -mpreferred-stack-boundary=2 -std=c99 -m32 -pedantic-errors -Iinc/ -Os
ASFLAGS = -f elf32