summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/clang.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/tools/clang.lua')
-rw-r--r--xmake/scripts/tools/clang.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/scripts/tools/clang.lua b/xmake/scripts/tools/clang.lua
index 5ee3171db..73acc5deb 100644
--- a/xmake/scripts/tools/clang.lua
+++ b/xmake/scripts/tools/clang.lua
@@ -126,6 +126,13 @@ function clang.flag_define(define)
return "-D" .. define
end
+-- make the undefine flag
+function clang.flag_undefine(undefine)
+
+ -- make it
+ return "-U" .. undefine
+end
+
-- make the includedir flag
function clang.flag_includedir(includedir)