added -O3 flag to compilation

master
Anton Lydike 3 years ago
parent b5b6b3c57e
commit f32a8a2b87

@ -11,9 +11,9 @@ GCC_PREF=riscv32-unknown-elf-
CC=$(GCC_PREF)gcc CC=$(GCC_PREF)gcc
OBJDUMP=$(GCC_PREF)objdump 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 KERNEL_CFLAGS=-nostdlib -T linker.ld
ARCH = rv32im # here you ARCH = rv32im
### Build configuration: ### Build configuration:

Loading…
Cancel
Save