Skip to content

Commit

Permalink
Merge pull request #273 from TommyMurphyTM1234/master
Browse files Browse the repository at this point in the history
Add `-fdata-sections` to compile flags
  • Loading branch information
cnlohr authored Feb 1, 2024
2 parents 2108ebe + 1b676ce commit c77639e
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 c77639e

Please sign in to comment.