diff options
| author | ruki <[email protected]> | 2017-09-22 22:50:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-22 11:01:32 +0800 |
| commit | da8837f9c0f7bd3cb1bc9d7fa96be6049145e73e (patch) | |
| tree | 79e6a0238df98d76d244d7ebbb3b4439b2ed7fdd /core/src | |
| parent | 3dd1a3292939e87e7182d30c5c3c2a7c8ebca276 (diff) | |
disable ccache for core makefile
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/machine.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c index 09c496eaf..ad1c4d366 100644 --- a/core/src/xmake/machine.c +++ b/core/src/xmake/machine.c @@ -505,10 +505,18 @@ xm_machine_ref_t xm_machine_init() lua_setglobal(impl->lua, "_HOST"); // init architecture -#if defined(TB_ARCH_x86) || defined(TB_CONFIG_OS_WINDOWS) +#if defined(TB_ARCH_x86) +# ifdef TB_CONFIG_OS_WINDOWS + lua_pushstring(impl->lua, "x86"); +# else lua_pushstring(impl->lua, "i386"); +# endif #elif defined(TB_ARCH_x64) +# ifdef TB_CONFIG_OS_WINDOWS + lua_pushstring(impl->lua, "x64"); +# else lua_pushstring(impl->lua, "x86_64"); +# endif #else lua_pushstring(impl->lua, TB_ARCH_STRING); #endif |
