|
@@ -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
|