summaryrefslogtreecommitdiff
path: root/bsp/smartfusion2
diff options
context:
space:
mode:
authorguo <[email protected]>2021-10-14 14:36:18 +0800
committerGitHub <[email protected]>2021-10-14 14:36:18 +0800
commitb1baf42d4ea5e35c54237c063d78b544e3a7a02e (patch)
treeb00d9f1c81a22252db165cf78696f6deafaec61e /bsp/smartfusion2
parent20e39f0bf768dcbcb2260608bbec3ce6f78b32c1 (diff)
Revert "Fix compiler flags issue"
Diffstat (limited to 'bsp/smartfusion2')
-rw-r--r--bsp/smartfusion2/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/smartfusion2/SConstruct b/bsp/smartfusion2/SConstruct
index 3babebc3b8..d34a57a76d 100644
--- a/bsp/smartfusion2/SConstruct
+++ b/bsp/smartfusion2/SConstruct
@@ -20,7 +20,7 @@ TARGET = 'rtthread.' + 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',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)