summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2022-09-10 16:09:32 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-09-10 16:09:32 +0200
commit1cde36cc8d5cc1870e54cc11202e85eef50fd00e (patch)
tree1304511377906ea4d51caa4a30fd734056a401a4
parent2c1cace1b2e3725f8d49bf0dd1f529a8c7508864 (diff)
build: Add -Wno-volatile to default CXXFLAGS.
-rw-r--r--build/scons_tools/tool_selectmcu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scons_tools/tool_selectmcu.py b/build/scons_tools/tool_selectmcu.py
index 18f8975..f73caa1 100644
--- a/build/scons_tools/tool_selectmcu.py
+++ b/build/scons_tools/tool_selectmcu.py
@@ -31,7 +31,7 @@ def SelectMCU(env, mcu, variant_dir = None):
RANLIB = '${TOOLCHAIN}ranlib',
CCFLAGS = Split('-O2 -Wall -ggdb -ffunction-sections -fdata-sections'),
- CXXFLAGS = Split('-std=c++20 -fno-exceptions -fno-rtti -fcoroutines'),
+ CXXFLAGS = Split('-std=c++20 -fno-exceptions -fno-rtti -fcoroutines -Wno-volatile'),
ASFLAGS = Split('-c -x assembler-with-cpp'),
LINKFLAGS = Split('-Wall -nostartfiles -Wl,-T${LINK_SCRIPT} -Wl,--gc-sections'),