From ab7100db2a9e083767c62c3728c4f443c5f573b4 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Tue, 13 Feb 2024 05:42:49 -0500 Subject: [PATCH] Remove rednudant cflags --- ch32v003fun/ch32v003fun.mk | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/ch32v003fun/ch32v003fun.mk b/ch32v003fun/ch32v003fun.mk index 90fba970..b8a7690f 100644 --- a/ch32v003fun/ch32v003fun.mk +++ b/ch32v003fun/ch32v003fun.mk @@ -14,23 +14,12 @@ TARGET_EXT?=c CH32V003FUN?=../../ch32v003fun 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 SYSTEM_C?=$(CH32V003FUN)/ch32v003fun.c ifeq ($(TARGET_MCU),CH32V003) CFLAGS+= \ - -g -Os -flto -ffunction-sections \ + -g -Os -flto -ffunction-sections -fdata-sections \ -static-libgcc \ -march=rv32ec \ -mabi=ilp32e \