diff --git a/repos/base/mk/global.mk b/repos/base/mk/global.mk index 75cfaff415..4bf5f6943d 100644 --- a/repos/base/mk/global.mk +++ b/repos/base/mk/global.mk @@ -195,7 +195,7 @@ CC_ADA_OPT += $(filter-out -fno-builtin-cos -fno-builtin-sin \ # We substitute '.' characters by '_' to allow a source-file-specific # C++ standard option for files with more than one dot in their name. # -CC_CXX_OPT_STD ?= -std=gnu++17 +CC_CXX_OPT_STD ?= -std=gnu++20 CC_CXX_OPT += $(lastword $(CC_CXX_OPT_STD) $(CC_CXX_OPT_STD_$(subst .,_,$*))) #