summaryrefslogtreecommitdiff
path: root/xmake/core/project/policy.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-01 00:48:23 +0800
committerruki <[email protected]>2023-02-01 00:48:23 +0800
commitc638e5b6111c919b46a676f7eefcc7fead324874 (patch)
tree6b090579059981912438ee4c1ab8ca21e823819f /xmake/core/project/policy.lua
parent4a9e0dffebbd750cf0f0fa24fbed2d5307c67b90 (diff)
show checkers list
Diffstat (limited to 'xmake/core/project/policy.lua')
-rw-r--r--xmake/core/project/policy.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua
index 86c790cd9..1a466aa68 100644
--- a/xmake/core/project/policy.lua
+++ b/xmake/core/project/policy.lua
@@ -33,8 +33,7 @@ local string = require("base/string")
function policy.policies()
local policies = policy._POLICIES
if not policies then
- policies =
- {
+ policies = {
-- we will check and ignore all unsupported flags by default, but we can also pass `{force = true}` to force to set flags, e.g. add_ldflags("-static", {force = true})
["check.auto_ignore_flags"] = {description = "Enable check and ignore unsupported flags automatically.", default = true, type = "boolean"},
-- we will map gcc flags to the current compiler and linker by default.