diff options
| author | ruki <[email protected]> | 2023-02-01 00:48:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-01 00:48:23 +0800 |
| commit | c638e5b6111c919b46a676f7eefcc7fead324874 (patch) | |
| tree | 6b090579059981912438ee4c1ab8ca21e823819f /xmake/core/project/policy.lua | |
| parent | 4a9e0dffebbd750cf0f0fa24fbed2d5307c67b90 (diff) | |
show checkers list
Diffstat (limited to 'xmake/core/project/policy.lua')
| -rw-r--r-- | xmake/core/project/policy.lua | 3 |
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. |
