summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-03-10 21:22:38 +0800
committerruki <[email protected]>2017-03-10 21:22:38 +0800
commit4feb7b304f2112c804e0ec3781f89109f87556b0 (patch)
treefe0235a84459a59208a24dc57c13f089e4585cd1
parenta765ef5c31d29be05e663cf9272f1ae8f6b69811 (diff)
add -std=c++lz and c++17
-rwxr-xr-xxmake/tools/gcc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/tools/gcc.lua b/xmake/tools/gcc.lua
index 8b0795f9d..a3f40b4b0 100755
--- a/xmake/tools/gcc.lua
+++ b/xmake/tools/gcc.lua
@@ -188,6 +188,10 @@ function nf_language(stdname)
, gnuxx11 = "-std=gnu++11"
, cxx14 = "-std=c++14"
, gnuxx14 = "-std=gnu++14"
+ , cxx1z = "-std=c++1z"
+ , gnuxx1z = "-std=gnu++1z"
+ , cxx17 = "-std=c++17"
+ , gnuxx17 = "-std=gnu++17"
}
-- select maps