1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

MSVC: Pass any user-set MSBFLAGS to MSBuild and VCBUILD.

This is particularly useful to pass /m, to perform a parallel build.

Christian Ullrich, reviewed by Michael Paquier.
This commit is contained in:
Noah Misch
2016-09-08 01:42:09 -04:00
parent 976a9bbd02
commit d299eb41df
4 changed files with 15 additions and 5 deletions

View File

@ -138,8 +138,9 @@ sub check
sub ecpgcheck
{
my $msbflags = $ENV{MSBFLAGS} || "";
chdir $startdir;
system("msbuild ecpg_regression.proj /p:config=$Config");
system("msbuild ecpg_regression.proj $msbflags /p:config=$Config");
my $status = $? >> 8;
exit $status if $status;
InstallTemp();