Change optimization to Os since we want compact code

This commit is contained in:
Joachim Strömbergson 2022-10-13 09:26:49 +02:00
parent 99aabe89e9
commit b37b377a7e
No known key found for this signature in database
GPG Key ID: 865B8A548EA61679

View File

@ -34,7 +34,7 @@ OBJCOPY ?= llvm-objcopy-14
CC = clang-14
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
AS = clang-14