From f32a8a2b87004077ebc464f1a4bfcc069718a717 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Sun, 22 Aug 2021 19:05:31 +0200 Subject: [PATCH] added -O3 flag to compilation --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: