From 2c1cace1b2e3725f8d49bf0dd1f529a8c7508864 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 10 Sep 2022 16:08:45 +0200 Subject: build: Add -fcoroutines to default CXXFLAGS. --- build/scons_tools/tool_selectmcu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/scons_tools') 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'), -- cgit v1.2.3