summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/armclang.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/armclang.lua')
-rw-r--r--xmake/modules/core/tools/armclang.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/armclang.lua b/xmake/modules/core/tools/armclang.lua
index 42bec8fd5..dcec82015 100644
--- a/xmake/modules/core/tools/armclang.lua
+++ b/xmake/modules/core/tools/armclang.lua
@@ -23,3 +23,10 @@ inherit("gcc")
function init(self)
_super.init(self)
end
+
+-- make runtime flag
+function nf_runtime(self, runtime)
+ if runtime == "microlib" then
+ return "-D__MICROLIB"
+ end
+end