diff options
| -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 = {} |
