add --toolchain_host

autoupdate-scons-4.8.1
ruki 2 months ago
parent 4243afb5af
commit 2c44d7a52e
  1. 4
      scripts/test.lua

@ -38,6 +38,7 @@ local options =
, {nil, "appledev", "kv", nil, "The Apple Device Type" }
, {nil, "mingw", "kv", nil, "Set the MingW directory." }
, {nil, "toolchain", "kv", nil, "Set the toolchain name." }
, {nil, "toolchain_host", "kv", nil, "Set the host toolchain name." }
, {nil, "packages", "vs", nil, "The package list." }
}
@ -114,6 +115,9 @@ function _require_packages(argv, packages)
if argv.toolchain then
table.insert(config_argv, "--toolchain=" .. argv.toolchain)
end
if argv.toolchain_host then
table.insert(config_argv, "--toolchain_host=" .. argv.toolchain_host)
end
if argv.cflags then
table.insert(config_argv, "--cflags=" .. argv.cflags)
end

Loading…
Cancel
Save