diff --git a/Makefile b/Makefile index 502e94b..4305f2e 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,9 @@ GCC_PREF=riscv32-unknown-elf- CC=$(GCC_PREF)gcc OBJDUMP=$(GCC_PREF)objdump -CFLAGS=-I$(KLIBDIR) -MD -mcmodel=medany -Wall -Wextra -pedantic-errors -Wno-builtin-declaration-mismatch +CFLAGS=-I$(KLIBDIR) -O3 -MD -mcmodel=medany -Wall -Wextra -pedantic-errors -Wno-builtin-declaration-mismatch KERNEL_CFLAGS=-nostdlib -T linker.ld -ARCH = rv32im # here you +ARCH = rv32im ### Build configuration: