mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
fw: optimize for speed (-O2) instead of size (-Os)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
This commit is contained in:
parent
957df5e6b4
commit
5fe7ba7f9d
@ -34,7 +34,7 @@ OBJCOPY ?= llvm-objcopy
|
|||||||
CC = clang
|
CC = clang
|
||||||
|
|
||||||
CFLAGS = -target riscv32-unknown-none-elf -march=rv32iczmmul -mabi=ilp32 \
|
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 \
|
-fno-builtin-putchar -fno-builtin-memcpy -nostdlib -mno-relax -Wall \
|
||||||
-flto -DNOCONSOLE
|
-flto -DNOCONSOLE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user