summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi
diff options
context:
space:
mode:
authorJCZou <[email protected]>2021-08-19 08:53:27 +0200
committerJCZou <[email protected]>2021-08-19 08:53:27 +0200
commit0369db718cd3b1ff58ceb2fc44a48641a0fecc66 (patch)
tree377e87f083c8aa1e0ef3c29f9ff37a5b6d6da070 /bsp/raspberry-pi
parent1656d7f8f824ff1fc41ac4a772c5646c2edeefbd (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/raspberry-pi')
-rw-r--r--bsp/raspberry-pi/raspi2/SConstruct2
-rw-r--r--bsp/raspberry-pi/raspi3-32/SConstruct2
-rw-r--r--bsp/raspberry-pi/raspi3-64/SConstruct2
-rw-r--r--bsp/raspberry-pi/raspi4-32/SConstruct2
-rw-r--r--bsp/raspberry-pi/raspi4-64/SConstruct2
5 files changed, 5 insertions, 5 deletions
diff --git a/bsp/raspberry-pi/raspi2/SConstruct b/bsp/raspberry-pi/raspi2/SConstruct
index e5acdb2554..ef5ed53598 100644
--- a/bsp/raspberry-pi/raspi2/SConstruct
+++ b/bsp/raspberry-pi/raspi2/SConstruct
@@ -12,7 +12,7 @@ TARGET = 'rtthread.' + 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, CXXFLAGS = rtconfig.CXXFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
diff --git a/bsp/raspberry-pi/raspi3-32/SConstruct b/bsp/raspberry-pi/raspi3-32/SConstruct
index e94a364d9d..0f4a691f12 100644
--- a/bsp/raspberry-pi/raspi3-32/SConstruct
+++ b/bsp/raspberry-pi/raspi3-32/SConstruct
@@ -12,7 +12,7 @@ TARGET = 'rtthread.' + 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, CXXFLAGS = rtconfig.CXXFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
diff --git a/bsp/raspberry-pi/raspi3-64/SConstruct b/bsp/raspberry-pi/raspi3-64/SConstruct
index 93f349aab8..33f65e4109 100644
--- a/bsp/raspberry-pi/raspi3-64/SConstruct
+++ b/bsp/raspberry-pi/raspi3-64/SConstruct
@@ -12,7 +12,7 @@ TARGET = 'rtthread.' + 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, CXXFLAGS = rtconfig.CXXFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
diff --git a/bsp/raspberry-pi/raspi4-32/SConstruct b/bsp/raspberry-pi/raspi4-32/SConstruct
index 93f349aab8..33f65e4109 100644
--- a/bsp/raspberry-pi/raspi4-32/SConstruct
+++ b/bsp/raspberry-pi/raspi4-32/SConstruct
@@ -12,7 +12,7 @@ TARGET = 'rtthread.' + 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, CXXFLAGS = rtconfig.CXXFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
diff --git a/bsp/raspberry-pi/raspi4-64/SConstruct b/bsp/raspberry-pi/raspi4-64/SConstruct
index 93f349aab8..33f65e4109 100644
--- a/bsp/raspberry-pi/raspi4-64/SConstruct
+++ b/bsp/raspberry-pi/raspi4-64/SConstruct
@@ -12,7 +12,7 @@ TARGET = 'rtthread.' + 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, CXXFLAGS = rtconfig.CXXFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)