From 5a4db78897063e5b09a676b02fec3ba4a2965921 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 25 Oct 2019 23:26:29 +0200 Subject: Rewrite of paging and alloc functions Still not working though :/ --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3606e2a..f843795 100644 --- a/Makefile +++ b/Makefile @@ -23,11 +23,11 @@ build: clean stripped=$$(echo "$${line}" | sed -r 's/\//_/g'); \ stripped=$${stripped#??????}; \ stripped=$${stripped%%?}o; \ - i686-elf-gcc -c ./"$${line}" -o ./build/"$${stripped}" -std=gnu99 -ffreestanding -O2 -Wall -Wextra -Wno-unused-parameter || exit; \ + i686-elf-gcc -c ./"$${line}" -o ./build/"$${stripped}" -std=gnu99 -ffreestanding -O3 -Wall -Wextra -Wno-unused-parameter || exit; \ done <./build/tmp; \ rm ./build/tmp; \ - i686-elf-gcc -T ./src/kernel/linker.ld -o ./build/melvix.bin -ffreestanding -O2 -nostdlib ./build/*.o -lgcc || exit; \ + i686-elf-gcc -T ./src/kernel/linker.ld -o ./build/melvix.bin -std=gnu99 -ffreestanding -O2 -nostdlib ./build/*.o || exit; \ # Testing if grub-file --is-x86-multiboot ./build/melvix.bin; then \ -- cgit v1.2.3