From 0849d91d3cc0326537b4175841946a859191d8cc Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 9 Jul 2017 10:03:32 +0200 Subject: made kernel boot with optimizations on (clang), reason where the use of MMX registers --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 62909a1..3838b08 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ CC := gcc INCLUDES = -I. -Ilibc -Ihardware -Idrivers -Idrivers/hdi -Idrivers/hdi/ps2 -Idrivers/video -Ikernel -Igui -CFLAGS := -std=c99 -m32 -ffreestanding -O0 -g -Werror $(INCLUDES) +CFLAGS := -std=c99 -m32 -march=i486 -ffreestanding -O0 -g -Werror $(INCLUDES) LD := ld NASMFLAGS := -f elf32 NASM := nasm -- cgit v1.2.3-54-g00ecf