2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00

Fix setup script handling for msvc-7.1.

* global-setup doesn't exist.
* cpu should only be i386.
This commit is contained in:
Steven Watanabe
2016-03-01 10:17:54 -07:00
parent 4c546c3c15
commit 72ff0b63ff

View File

@@ -793,7 +793,7 @@ actions write-setup-script
# Local helper rule to create the vcvars setup command for given architecture
# and options.
#
local rule generate-setup-cmd ( version : command : parent : options * : cpu : global-setup : default-global-setup-options : default-setup )
local rule generate-setup-cmd ( version : command : parent : options * : cpu : global-setup ? : default-global-setup-options : default-setup )
{
local setup-prefix = "call " ;
local setup-suffix = " >nul"$(.nl) ;
@@ -960,7 +960,7 @@ local rule configure-really ( version ? : options * )
{
cpu = i386 ;
}
if $(below-11.0)
else if $(below-11.0)
{
cpu = i386 amd64 ia64 ;
}