mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +08:00
use os_ident for cmake toolchain filename instead of os.target()
This commit is contained in:
parent
07c6f46c03
commit
a6c53a2c6d
@ -290,7 +290,7 @@ local function cmake_build(dep_folder, is_32, extra_cmd_defs, c_flags_init, cxx_
|
||||
end
|
||||
|
||||
if #toolchain_file_content > 0 then
|
||||
local toolchain_file = path.join(dep_base, 'toolchain_' .. tostring(is_32) .. '_' .. _ACTION .. '_' .. os.target() .. '.precmt')
|
||||
local toolchain_file = path.join(dep_base, 'toolchain_' .. tostring(is_32) .. '_' .. _ACTION .. '_' .. os_iden .. '.precmt')
|
||||
if not io.writefile(toolchain_file, toolchain_file_content) then
|
||||
error("failed to write cmake toolchain")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user