summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/gcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-08-22 00:36:37 +0800
committerruki <[email protected]>2019-08-21 21:39:42 +0800
commit357c30154201ed11f4ad86b6be7e3590fc36d17e (patch)
treebc385ff094575716f2d8d4c1aa451f20e179ec95 /xmake/modules/core/tools/gcc.lua
parent7778679ae4c304f6388d80552aac0b893d5019da (diff)
improve std language
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
-rw-r--r--xmake/modules/core/tools/gcc.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 31fd45ac5..036b3f709 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -190,18 +190,18 @@ function nf_language(self, stdname)
if _g.cxxmaps == nil then
_g.cxxmaps =
{
- cxx98 = "-std=c++98"
- , gnuxx98 = "-std=gnu++98"
- , cxx11 = "-std=c++11"
- , gnuxx11 = "-std=gnu++11"
- , cxx14 = "-std=c++14"
- , gnuxx14 = "-std=gnu++14"
- , cxx17 = "-std=c++17"
- , gnuxx17 = "-std=gnu++17"
- , cxx1z = "-std=c++1z"
- , gnuxx1z = "-std=gnu++1z"
- , cxx2a = "-std=c++2a"
- , gnuxx2a = "-std=gnu++2a"
+ cxx98 = "-std=c++98"
+ , gnuxx98 = "-std=gnu++98"
+ , cxx11 = "-std=c++11"
+ , gnuxx11 = "-std=gnu++11"
+ , cxx14 = "-std=c++14"
+ , gnuxx14 = "-std=gnu++14"
+ , cxx17 = "-std=c++17"
+ , gnuxx17 = "-std=gnu++17"
+ , cxx1z = "-std=c++1z"
+ , gnuxx1z = "-std=gnu++1z"
+ , cxx2a = "-std=c++2a"
+ , gnuxx2a = "-std=gnu++2a"
}
local cxxmaps2 = {}
for k, v in pairs(_g.cxxmaps) do