summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect/features.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-06-20 21:32:31 +0800
committerruki <[email protected]>2020-06-20 21:32:31 +0800
commit17561f833fe7dba0721cfd8f48a88213867231a0 (patch)
tree81979aa293c29499146a8aa4f5cac90d348ef733 /xmake/modules/lib/detect/features.lua
parent9952e551b93d71d5428dc99633fb770d8e0636f4 (diff)
fix check features
Diffstat (limited to 'xmake/modules/lib/detect/features.lua')
-rw-r--r--xmake/modules/lib/detect/features.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/features.lua b/xmake/modules/lib/detect/features.lua
index 048ee85a6..9146e5da6 100644
--- a/xmake/modules/lib/detect/features.lua
+++ b/xmake/modules/lib/detect/features.lua
@@ -32,7 +32,7 @@ import("core.base.scheduler")
-- @code
-- local features = features("clang")
-- local features = features("clang", {flags = "-O0", program = "xcrun -sdk macosx clang"})
--- local features = features("clang", {flags = {"-g", "-O0"}})
+-- local features = features("clang", {flags = {"-g", "-O0"}, envs = {PATH = ""}})
-- @endcode
--
function main(name, opt)