diff options
Diffstat (limited to 'xmake/scripts')
| -rw-r--r-- | xmake/scripts/base/compiler.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/scripts/base/compiler.lua b/xmake/scripts/base/compiler.lua index ab6ee1960..a64f8bae0 100644 --- a/xmake/scripts/base/compiler.lua +++ b/xmake/scripts/base/compiler.lua @@ -229,6 +229,8 @@ function compiler._addflags_from_target(module, flags, flagnames, target) , gnu89 = "-std=gnu89" , c99 = "-std=c99" , gnu99 = "-std=gnu99" + , c11 = "-std=c11" + , gnu11 = "-std=gnu11" }) elseif flagname == "cxxflags" or flagname == "mxxflags" then table.join2(languages, { cxx98 = "-std=c++98" |
