summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/armcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-17 12:14:04 +0800
committerruki <[email protected]>2021-11-17 12:14:04 +0800
commitdcffc69b622da2048f6ee529f5974cb66cd6dc1a (patch)
treea7accc6ce1eb8784a39429c3ee5114926429dcff /xmake/modules/core/tools/armcc.lua
parent7f3706c2ad219d6632b3be0a4705042ced0d0233 (diff)
add microlib runtime for mdk
Diffstat (limited to 'xmake/modules/core/tools/armcc.lua')
-rw-r--r--xmake/modules/core/tools/armcc.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/armcc.lua b/xmake/modules/core/tools/armcc.lua
index 6215242ec..403e143f0 100644
--- a/xmake/modules/core/tools/armcc.lua
+++ b/xmake/modules/core/tools/armcc.lua
@@ -45,6 +45,13 @@ function nf_symbol(self, level)
end
end
+-- make runtime flag
+function nf_runtime(self, runtime)
+ if runtime == "microlib" then
+ return "-D__MICROLIB"
+ end
+end
+
-- make the optimize flag
function nf_optimize(self, level)
local maps =