mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-19 04:44:24 -05:00
Change optimization to Os since we want compact code
This commit is contained in:
parent
99aabe89e9
commit
b37b377a7e
@ -34,7 +34,7 @@ OBJCOPY ?= llvm-objcopy-14
|
|||||||
CC = clang-14
|
CC = clang-14
|
||||||
|
|
||||||
CFLAGS = -target riscv32-unknown-none-elf -march=rv32imc -mabi=ilp32 \
|
CFLAGS = -target riscv32-unknown-none-elf -march=rv32imc -mabi=ilp32 \
|
||||||
-static -std=gnu99 -O2 -ffast-math -fno-common -fno-builtin-printf \
|
-static -std=gnu99 -Os -ffast-math -fno-common -fno-builtin-printf \
|
||||||
-fno-builtin-putchar -nostdlib -mno-relax -Wall -flto -DNOCONSOLE
|
-fno-builtin-putchar -nostdlib -mno-relax -Wall -flto -DNOCONSOLE
|
||||||
|
|
||||||
AS = clang-14
|
AS = clang-14
|
||||||
|
Loading…
Reference in New Issue
Block a user