summaryrefslogtreecommitdiff
path: root/bsp/stm32
diff options
context:
space:
mode:
authorguo <[email protected]>2021-10-14 15:21:16 +0800
committerGitHub <[email protected]>2021-10-14 15:21:16 +0800
commitacc754726498c5dbe3697cba8916d7b4cb1737e7 (patch)
tree2a289b782d431c64f628ac1627191d75242cc46b /bsp/stm32
parentce0803fe3ba761c498ffcd30d74582b0a9cb936e (diff)
parent1083ea59c816ee3b0498bf04e11c3e29c370d756 (diff)
Merge pull request #5179 from RT-Thread/revert-5176-cflag
Revert "[update] Fix compiler flags issue"
Diffstat (limited to 'bsp/stm32')
-rw-r--r--bsp/stm32/stm32h743-armfly-V7/SConstruct2
-rw-r--r--bsp/stm32/stm32wle5-yizhilian-lm401/SConstruct2
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32/stm32h743-armfly-V7/SConstruct b/bsp/stm32/stm32h743-armfly-V7/SConstruct
index d4805c856c..48974d990f 100644
--- a/bsp/stm32/stm32h743-armfly-V7/SConstruct
+++ b/bsp/stm32/stm32h743-armfly-V7/SConstruct
@@ -20,7 +20,7 @@ TARGET = 'rt-thread.' + rtconfig.TARGET_EXT
DefaultEnvironment(tools=[])
env = Environment(tools = ['mingw'],
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
- CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
+ CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
CXX = rtconfig.CXX, CXXFLAGS = rtconfig.CXXFLAGS,
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
diff --git a/bsp/stm32/stm32wle5-yizhilian-lm401/SConstruct b/bsp/stm32/stm32wle5-yizhilian-lm401/SConstruct
index 6061b52175..77e638a5eb 100644
--- a/bsp/stm32/stm32wle5-yizhilian-lm401/SConstruct
+++ b/bsp/stm32/stm32wle5-yizhilian-lm401/SConstruct
@@ -19,7 +19,7 @@ TARGET = 'rt-thread.' + rtconfig.TARGET_EXT
env = Environment(tools = ['mingw'],
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
- CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
+ CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
CXX = rtconfig.CXX, CXXFLAGS = rtconfig.CXXFLAGS,
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)