diff options
| author | ruki <[email protected]> | 2016-01-05 16:31:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-01-05 16:31:39 +0800 |
| commit | 699bb9f43d540ec41be830279c96fb63bbdaad47 (patch) | |
| tree | 4d9003e890fea454cc5fe747127d73ec5c0b8820 /xmake/scripts | |
| parent | 9488982a8547f414b972f8d802914730bac964c9 (diff) | |
add c11 and gnu11 languages
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" |
