Skip to content
Snippets Groups Projects
Commit ab7100db authored by cnlohr's avatar cnlohr
Browse files

Remove rednudant cflags

parent 695fc89a
No related branches found
No related tags found
No related merge requests found
...@@ -14,23 +14,12 @@ TARGET_EXT?=c ...@@ -14,23 +14,12 @@ TARGET_EXT?=c
CH32V003FUN?=../../ch32v003fun CH32V003FUN?=../../ch32v003fun
MINICHLINK?=$(CH32V003FUN)/../minichlink MINICHLINK?=$(CH32V003FUN)/../minichlink
CFLAGS+= \
-g -Os -flto -fdata-sections -ffunction-sections \
-static-libgcc \
-march=rv32ec \
-mabi=ilp32e \
-I/usr/include/newlib \
-I$(CH32V003FUN)/../extralibs \
-I$(CH32V003FUN) \
-nostdlib \
-I. -Wall $(EXTRA_CFLAGS)
WRITE_SECTION?=flash WRITE_SECTION?=flash
SYSTEM_C?=$(CH32V003FUN)/ch32v003fun.c SYSTEM_C?=$(CH32V003FUN)/ch32v003fun.c
ifeq ($(TARGET_MCU),CH32V003) ifeq ($(TARGET_MCU),CH32V003)
CFLAGS+= \ CFLAGS+= \
-g -Os -flto -ffunction-sections \ -g -Os -flto -ffunction-sections -fdata-sections \
-static-libgcc \ -static-libgcc \
-march=rv32ec \ -march=rv32ec \
-mabi=ilp32e \ -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