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/mini2440 | |
| 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/mini2440')
| -rw-r--r-- | bsp/mini2440/SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/mini2440/SConstruct b/bsp/mini2440/SConstruct index 93120f79ec..6300b8834a 100644 --- a/bsp/mini2440/SConstruct +++ b/bsp/mini2440/SConstruct @@ -15,7 +15,7 @@ TARGET = 'rtthread-mini2440.' + rtconfig.TARGET_EXT 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, AR = rtconfig.AR, ARFLAGS = '-rc', LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS) |
