summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-12 14:39:38 +0800
committerruki <[email protected]>2015-06-12 14:39:38 +0800
commiteb0e6fe79d8e49d82bb600529028fcf28767a2d8 (patch)
tree47d565fb521efebf5919ddaef495e026517a1179 /core/src
parent3c4c1616be193d5146e2ddd9f8dcc706baf1f8f5 (diff)
modify arch name
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