diff options
| author | liukangcc <[email protected]> | 2021-12-17 14:28:02 +0800 |
|---|---|---|
| committer | liukangcc <[email protected]> | 2021-12-17 14:28:40 +0800 |
| commit | b0f6c2fbaea4ee489a4276f70e7423cdde19cf1c (patch) | |
| tree | a0a2cfb6279a1d52754f2f5cd3fc6ceb261a5711 /bsp/simulator | |
| parent | 7429fb26c02a8f3c3ecf735c26b0a34046dce0ba (diff) | |
[update] CFLAGS
Diffstat (limited to 'bsp/simulator')
| -rwxr-xr-x | bsp/simulator/SConstruct | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct index e165ce6fef..74a10ccc84 100755 --- a/bsp/simulator/SConstruct +++ b/bsp/simulator/SConstruct @@ -37,7 +37,7 @@ if rtconfig.PLATFORM == 'cl': _CONSOLE MSVC ''') - env.Append(CCFLAGS=rtconfig.CFLAGS) + env.Append(CFLAGS=rtconfig.CFLAGS) env.Append(LINKFLAGS=rtconfig.LFLAGS) env['LIBS']=libs env['CPPDEFINES']=definitions @@ -59,7 +59,7 @@ elif rtconfig.PLATFORM == 'mingw': DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, - CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, + CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS, AR = rtconfig.AR, ARFLAGS = '-rc', LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS) env['LIBS']=libs @@ -71,7 +71,7 @@ elif rtconfig.CROSS_TOOL == 'clang-analyze': else: TARGET = 'rtthread' env['CC']=rtconfig.CC - env.Append(CCFLAGS=rtconfig.CFLAGS) + env.Append(CFLAGS=rtconfig.CFLAGS) env.Append(LINKFLAGS=rtconfig.LFLAGS) env.Append(LIBS=['winmm']) |
