Skip to content

Commit

Permalink
Add -fdata-sections to compile flags - see #265
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyMurphyTM1234 committed Jan 31, 2024
1 parent 5e3c3a3 commit 1b676ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch32v003fun/ch32v003fun.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CH32V003FUN?=../../ch32v003fun
MINICHLINK?=$(CH32V003FUN)/../minichlink

CFLAGS+= \
-g -Os -flto -ffunction-sections \
-g -Os -flto -fdata-sections -ffunction-sections \
-static-libgcc \
-march=rv32ec \
-mabi=ilp32e \
Expand Down

0 comments on commit 1b676ce

Please sign in to comment.