fw: optimize for speed (-O2) instead of size (-Os)

Signed-off-by: Daniel Lublin <daniel@lublin.se>
This commit is contained in:
Daniel Lublin 2023-03-09 08:54:39 +01:00
parent 957df5e6b4
commit 5fe7ba7f9d
No known key found for this signature in database
GPG Key ID: 75BD0FEB8D3E7830

View File

@ -34,7 +34,7 @@ OBJCOPY ?= llvm-objcopy
CC = clang
CFLAGS = -target riscv32-unknown-none-elf -march=rv32iczmmul -mabi=ilp32 \
-static -std=gnu99 -Os -ffast-math -fno-common -fno-builtin-printf \
-static -std=gnu99 -O2 -ffast-math -fno-common -fno-builtin-printf \
-fno-builtin-putchar -fno-builtin-memcpy -nostdlib -mno-relax -Wall \
-flto -DNOCONSOLE