booster: build with -O2

Earlier we were building with -O0, which is useful for debugging, but
is not particularly fast.  Build with -O2 now for speeeeed.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-11-24 20:11:51 +08:00
parent 3e51649c7e
commit 6a147238aa

View File

@ -24,7 +24,7 @@ endif
BASE_DIR := . BASE_DIR := .
LD_DIR := $(BASE_DIR)/ld LD_DIR := $(BASE_DIR)/ld
LDSCRIPT := $(BASE_DIR)/ld/linker.ld LDSCRIPT := $(BASE_DIR)/ld/linker.ld
ADD_CFLAGS := -I$(BASE_DIR)/include -D__vexriscv__ -march=rv32i -mabi=ilp32 ADD_CFLAGS := -I$(BASE_DIR)/include -D__vexriscv__ -march=rv32i -mabi=ilp32 -DCSR_ACCESSORS_DEFINED
ADD_LFLAGS := ADD_LFLAGS :=
PACKAGE := booster PACKAGE := booster