summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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