diff options
| author | ruki <[email protected]> | 2021-10-10 21:07:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-10 21:07:03 +0800 |
| commit | 0fe9bb8a7018b7b183873c3dcd8856bf7ea6b6c9 (patch) | |
| tree | 28fe530d49d0058f6cadbabb16adffb4b2236eed /xmake/modules/core/tools/gcc.lua | |
| parent | b2da3200b61621acfb29ab88d1c8f5888f8f9713 (diff) | |
improve languages
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 2cf31e2dc..99938e59a 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -199,8 +199,8 @@ function nf_language(self, stdname) , gnuxx17 = "-std=gnu++17" , cxx1z = "-std=c++1z" , gnuxx1z = "-std=gnu++1z" - , cxx20 = "-std=c++20" - , gnuxx20 = "-std=gnu++20" + , cxx20 = {"-std=c++20", "-std=c++2a"} + , gnuxx20 = {"-std=gnu++20", "-std=c++2a"} , cxx2a = "-std=c++2a" , gnuxx2a = "-std=gnu++2a" , cxxlatest = {"-std=c++20", "-std=c++2a", "-std=c++17", "-std=c++14", "-std=c++11", "-std=c++1z", "-std=c++98"} |
