summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/gcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-10-17 00:54:46 +0800
committerruki <[email protected]>2020-10-17 00:54:46 +0800
commit0782fc6102fb8f2f4f510a99594537bfe3865542 (patch)
tree5306a6f5fa8fdeda1e3a0241ba3ecf50402bc3f2 /xmake/modules/core/tools/gcc.lua
parenta19a2d357becce2ce23a6b39d4019ae8093b9bb3 (diff)
add c17 for gcc
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
-rw-r--r--xmake/modules/core/tools/gcc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 352153e57..38ad7c8fd 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -175,6 +175,8 @@ function nf_language(self, stdname)
, gnu99 = "-std=gnu99"
, c11 = "-std=c11"
, gnu11 = "-std=gnu11"
+ , c17 = "-std=c17"
+ , gnu17 = "-std=gnu17"
}
end