diff options
| author | guo <[email protected]> | 2021-10-14 14:36:18 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-14 14:36:18 +0800 |
| commit | b1baf42d4ea5e35c54237c063d78b544e3a7a02e (patch) | |
| tree | b00d9f1c81a22252db165cf78696f6deafaec61e /bsp/at32 | |
| parent | 20e39f0bf768dcbcb2260608bbec3ce6f78b32c1 (diff) | |
Revert "Fix compiler flags issue"
Diffstat (limited to 'bsp/at32')
| -rw-r--r-- | bsp/at32/at32f403a-start/SConstruct | 2 | ||||
| -rw-r--r-- | bsp/at32/at32f407-start/SConstruct | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/at32/at32f403a-start/SConstruct b/bsp/at32/at32f403a-start/SConstruct index f7c2526a3a..56d254c02d 100644 --- a/bsp/at32/at32f403a-start/SConstruct +++ b/bsp/at32/at32f403a-start/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) diff --git a/bsp/at32/at32f407-start/SConstruct b/bsp/at32/at32f407-start/SConstruct index f7c2526a3a..56d254c02d 100644 --- a/bsp/at32/at32f407-start/SConstruct +++ b/bsp/at32/at32f407-start/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) |
