summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/xmake/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index 6bf2c721f..018020b5c 100755
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -266,9 +266,9 @@ xm_machine_ref_t xm_machine_init()
// init architecture
#if defined(TB_ARCH_x86) || defined(TB_CONFIG_OS_WINDOWS)
- lua_pushstring(impl->lua, "x86");
+ lua_pushstring(impl->lua, "i386");
#elif defined(TB_ARCH_x64)
- lua_pushstring(impl->lua, "x64");
+ lua_pushstring(impl->lua, "x86_64");
#else
lua_pushstring(impl->lua, TB_ARCH_STRING);
#endif