diff options
-rw-r--r-- | build/scons_tools/tool_selectmcu.py | 2 |
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'), |