diff options
| author | ruki <[email protected]> | 2024-04-03 00:57:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-03 00:57:29 +0800 |
| commit | 560185a7008ba56ada03e8ade3f3274711c07036 (patch) | |
| tree | 8448a688d9cbd85a71715bc93f33a84ef79747fc | |
| parent | efbf92709a0be6e2fba38efe3e10a2684d4e3836 (diff) | |
fix arch
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/sandbox/module.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/sandbox/module.lua b/xmake/core/sandbox/modules/import/core/sandbox/module.lua index b72bb0846..9678512de 100644 --- a/xmake/core/sandbox/modules/import/core/sandbox/module.lua +++ b/xmake/core/sandbox/modules/import/core/sandbox/module.lua @@ -212,7 +212,7 @@ function core_sandbox_module._build_module(module_fullpath) buildir = path.join(projectdir, "cache", "modules", modulehash) end local envs = {XMAKE_CONFIGDIR = buildir} - local argv = {"config", "-o", buildir} + local argv = {"config", "-o", buildir, "-a", xmake.arch()} core_sandbox_module._add_builtin_argv(argv, projectdir) os.execv(os.programfile(), argv, {envs = envs, curdir = projectdir}) argv = {} |
