From 6a147238aa932259fd685bc9d266baf94b24f362 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Sun, 24 Nov 2019 20:11:51 +0800 Subject: [PATCH] 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 --- booster/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booster/Makefile b/booster/Makefile index aae3df9..47c61f6 100644 --- a/booster/Makefile +++ b/booster/Makefile @@ -24,7 +24,7 @@ endif BASE_DIR := . LD_DIR := $(BASE_DIR)/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 := PACKAGE := booster