summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/clang/compile_flags.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/project/clang/compile_flags.lua')
-rw-r--r--xmake/plugins/project/clang/compile_flags.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/clang/compile_flags.lua b/xmake/plugins/project/clang/compile_flags.lua
index 9662943e3..f85ed631b 100644
--- a/xmake/plugins/project/clang/compile_flags.lua
+++ b/xmake/plugins/project/clang/compile_flags.lua
@@ -78,7 +78,7 @@ function _make_all()
_g.firstline = true
for _, target in pairs(project.targets()) do
local isdefault = target:get("default")
- if not target:isphony() and (isdefault == nil or isdefault == true) then
+ if not target:is_phony() and (isdefault == nil or isdefault == true) then
_make_target(target)
end
end