Skip to content
Snippets Groups Projects
Commit 1b676ceb authored by Tommy Murphy's avatar Tommy Murphy
Browse files

Add -fdata-sections to compile flags - see https://github.com/cnlohr/ch32v003fun/issues/265

parent 5e3c3a32
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment