summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-29 10:19:02 +0800
committerGitHub <[email protected]>2024-02-29 10:19:02 +0800
commit7659e6d4def6efba849594e1ca45e4c6a78282c8 (patch)
tree8a0a545be78247677ca46889f0ae9115ba984ec2
parentf86fca0295c477587792ec8955609966790b7dcd (diff)
parentab2d67540d7909dbec5e69686bfe41829aa9c3e5 (diff)
Merge pull request #4783 from PerikiyoXD/master
fix: Passing `is_debug` to gn
-rw-r--r--xmake/modules/package/tools/gn.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/gn.lua b/xmake/modules/package/tools/gn.lua
index 2f4d953e1..cdcbc298a 100644
--- a/xmake/modules/package/tools/gn.lua
+++ b/xmake/modules/package/tools/gn.lua
@@ -66,7 +66,7 @@ function _get_configs(package, configs, opt)
elseif package:is_arch("arm.*") then
configs.target_cpu = "arm"
end
- configs.is_debug = package:is_debug()
+ configs.is_debug = package:is_debug() and "true" or "false"
return configs
end