Skip to content

Commit

Permalink
Enable -std=gnu++20 by default
Browse files Browse the repository at this point in the history
Issue #4827
  • Loading branch information
chelmuth committed May 30, 2023
1 parent c3b53bc commit 4961ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/base/mk/global.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 .,_,$*)))

#
Expand Down

0 comments on commit 4961ee2

Please sign in to comment.