From 560185a7008ba56ada03e8ade3f3274711c07036 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 3 Apr 2024 00:57:29 +0800 Subject: fix arch --- xmake/core/sandbox/modules/import/core/sandbox/module.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {} -- cgit v1.3.1