diff options
-rw-r--r-- | BUGS | 4 | ||||
-rw-r--r-- | src/Makefile | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -21,4 +21,6 @@ outside of the library. Then in the libc test directory we have to implement a stub module for instance using some host functions like standard io of the host C library -- code breaks heavily under O2 optimization with clang (at least) +- VGA graphic mode switch fails with optimizations on (at least with + gcc and clang) + 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 |