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

Add extra cflags for all arch's

parent 3564ce8b
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ ifeq ($(TARGET_MCU),CH32V003)
-I$(CH32V003FUN) \
-nostdlib \
-DCH32V003=1 \
-I. -Wall $(EXTRA_CFLAGS)
-I. -Wall
GENERATED_LD_FILE?=$(CH32V003FUN)/generated_ch32v003.ld
TARGET_MCU_LD:=0
......@@ -46,6 +46,8 @@ else
endif
endif
CFLAGS+= $(EXTRA_CFLAGS)
LDFLAGS+=-T $(LINKER_SCRIPT) -Wl,--gc-sections
ifeq ($(TARGET_MCU), CH32V003)
......
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