summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorShifftC <[email protected]>2025-12-06 17:53:18 +0100
committerShifftC <[email protected]>2025-12-06 17:53:18 +0100
commit1abc008be9c0be2d44c4ba76c2b4badf6ea40143 (patch)
tree4b86ceadcbc651e5f27155a8144253cd2de055ab /xmake/plugins
parent40d790cf416c8677c51a8e969d421e85c25a019b (diff)
compile_flags: add missing import
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/clang/compile_flags.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/project/clang/compile_flags.lua b/xmake/plugins/project/clang/compile_flags.lua
index e4b07ec34..07f9de38c 100644
--- a/xmake/plugins/project/clang/compile_flags.lua
+++ b/xmake/plugins/project/clang/compile_flags.lua
@@ -23,6 +23,7 @@ import("core.tool.compiler")
import("core.project.project")
import("core.language.language")
import("private.utils.target", {alias = "target_utils"})
+import("plugins.project.utils.target_cmds", {rootdir = os.programdir()})
-- make the object
function _make_object(target, flags, sourcefile, objectfile)