diff options
| author | JCZou <[email protected]> | 2021-08-19 08:53:27 +0200 |
|---|---|---|
| committer | JCZou <[email protected]> | 2021-08-19 08:53:27 +0200 |
| commit | 0369db718cd3b1ff58ceb2fc44a48641a0fecc66 (patch) | |
| tree | 377e87f083c8aa1e0ef3c29f9ff37a5b6d6da070 /bsp/nuclei | |
| parent | 1656d7f8f824ff1fc41ac4a772c5646c2edeefbd (diff) | |
Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
Diffstat (limited to 'bsp/nuclei')
| -rw-r--r-- | bsp/nuclei/gd32vf103_rvstar/SConstruct | 2 | ||||
| -rw-r--r-- | bsp/nuclei/hbird_eval/SConstruct | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/nuclei/gd32vf103_rvstar/SConstruct b/bsp/nuclei/gd32vf103_rvstar/SConstruct index 11e4a3ee3c..56c576acc7 100644 --- a/bsp/nuclei/gd32vf103_rvstar/SConstruct +++ b/bsp/nuclei/gd32vf103_rvstar/SConstruct @@ -23,7 +23,7 @@ AddOption('--run', DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, - CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, + CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS, CXX = rtconfig.CXX, CXXFLAGS = rtconfig.CXXFLAGS, AR = rtconfig.AR, ARFLAGS = '-rc', LIBS = rtconfig.LIBS, LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS) diff --git a/bsp/nuclei/hbird_eval/SConstruct b/bsp/nuclei/hbird_eval/SConstruct index 11e4a3ee3c..56c576acc7 100644 --- a/bsp/nuclei/hbird_eval/SConstruct +++ b/bsp/nuclei/hbird_eval/SConstruct @@ -23,7 +23,7 @@ AddOption('--run', DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, - CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, + CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS, CXX = rtconfig.CXX, CXXFLAGS = rtconfig.CXXFLAGS, AR = rtconfig.AR, ARFLAGS = '-rc', LIBS = rtconfig.LIBS, LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS) |
