diff options
Diffstat (limited to 'xmake/modules/package/tools/gn.lua')
| -rw-r--r-- | xmake/modules/package/tools/gn.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/gn.lua b/xmake/modules/package/tools/gn.lua index fe6566ab4..461f43259 100644 --- a/xmake/modules/package/tools/gn.lua +++ b/xmake/modules/package/tools/gn.lua @@ -124,7 +124,8 @@ function build(package, configs, opt) -- do build local buildir = _get_buildir(opt) - ninja.build(package, {}, {buildir = buildir, envs = opt.envs or buildenvs(package, opt)}) + local argv = opt.argv or {} + ninja.build(package, argv, {buildir = buildir, envs = opt.envs or buildenvs(package, opt)}) end -- install package |
