diff options
| author | ruki <[email protected]> | 2024-05-15 22:35:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-05-15 22:35:57 +0800 |
| commit | 304943e79b6e2c67d2c010f053d8cd2a42460ddd (patch) | |
| tree | 48b6c48d7e234f46407270a32dfb3ccfa8b36b0e /xmake/modules/package/tools/gn.lua | |
| parent | f446bd8acdc780328838a09c9d137cc641cc197e (diff) | |
improve gn #5100
Diffstat (limited to 'xmake/modules/package/tools/gn.lua')
| -rw-r--r-- | xmake/modules/package/tools/gn.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/gn.lua b/xmake/modules/package/tools/gn.lua index 9cef0bf7f..fe6566ab4 100644 --- a/xmake/modules/package/tools/gn.lua +++ b/xmake/modules/package/tools/gn.lua @@ -66,7 +66,9 @@ function _get_configs(package, configs, opt) elseif package:is_arch("arm.*") then configs.target_cpu = "arm" end - configs.is_debug = package:is_debug() and "true" or "false" + if configs.is_debug == nil then + configs.is_debug = package:is_debug() and true or false + end return configs end |
