Skip to content

Commit b7195a6

Browse files
fix(fmc): Add all RUSTFLAGS to FMC Makefile (#2419)
This fixes a build issue where FMC runs out of size. Signed-off-by: Arthur Heymans <arthur.heymans@9elements.com> Co-authored-by: Christopher Swenson <chswenson@microsoft.com>
1 parent 8b79976 commit b7195a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fmc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#
1313
##
1414

15-
RUSTFLAGS=RUSTFLAGS=-Ctarget-feature=+relax
15+
RUSTFLAGS=RUSTFLAGS="-Ctarget-feature=+relax -Ctarget-feature=+unaligned-scalar-mem -Ctarget-feature=+zbb"
1616
TARGET_DIR=../target/riscv32imc-unknown-none-elf/firmware
1717
CURRENT_DIR = $(shell pwd)
1818
GIT_REV = $(shell git rev-parse HEAD)

0 commit comments

Comments
 (0)