summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/sdcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-26 23:12:02 +0800
committerruki <[email protected]>2021-09-26 23:12:02 +0800
commitd00138d98064b84db0c76dde99587b5ea425fdf4 (patch)
tree6522190484e42bc8cc36afafb48c9c163c7717bd /xmake/modules/core/tools/sdcc.lua
parent57222b35a8c1ba36d5487345e4fb16b40d07fd0e (diff)
improve languages
Diffstat (limited to 'xmake/modules/core/tools/sdcc.lua')
-rw-r--r--xmake/modules/core/tools/sdcc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/sdcc.lua b/xmake/modules/core/tools/sdcc.lua
index 00e081384..d2aece2e1 100644
--- a/xmake/modules/core/tools/sdcc.lua
+++ b/xmake/modules/core/tools/sdcc.lua
@@ -116,6 +116,8 @@ function nf_language(self, stdname)
, gnu11 = "--std-sdcc11"
, c20 = "--std-c2x"
, gnu20 = "--std-sdcc2x"
+ , clatest = "--std-c2x"
+ , gnulatest = "--std-sdcc2x"
}
end
return _g.cmaps[stdname]