summaryrefslogtreecommitdiff
path: root/build/scons_tools
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2022-09-10 16:08:45 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-09-10 16:08:45 +0200
commit2c1cace1b2e3725f8d49bf0dd1f529a8c7508864 (patch)
treeb1806358a1e44cca3443bb8e88b2d37d1c390558 /build/scons_tools
parent104c965101dfa6b9122184209cc00d0f18e7dbbe (diff)
build: Add -fcoroutines to default CXXFLAGS.
Diffstat (limited to 'build/scons_tools')
-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 e99df5e..18f8975 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'),
+ CXXFLAGS = Split('-std=c++20 -fno-exceptions -fno-rtti -fcoroutines'),
ASFLAGS = Split('-c -x assembler-with-cpp'),
LINKFLAGS = Split('-Wall -nostartfiles -Wl,-T${LINK_SCRIPT} -Wl,--gc-sections'),