From 63d05278674313f56b0b9299b43e69c8cf31c177 Mon Sep 17 00:00:00 2001 From: Kevin Koch Date: Thu, 31 Jan 2008 15:51:18 +0000 Subject: [PATCH] Actually pass the nmake arguments to nmake TargetVersion: 1.7 Component: windows Ticket: new Subj: Build automation Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20213 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/build/bkw.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/windows/build/bkw.pl b/src/windows/build/bkw.pl index 9984a3343..ee93203bf 100644 --- a/src/windows/build/bkw.pl +++ b/src/windows/build/bkw.pl @@ -316,11 +316,11 @@ sub main { } print "Executing $cmdline\n"; - local $argvsize = @ARGV; + local $argvsize = @ARGV; + local $nmakeargs = ""; if ($argvsize > 0) { - print "\nArguments for NMAKE: "; - map {print " $_ "} @ARGV; - print "\n"; + map {$nmakeargs .= " $_ "} @ARGV; + print "Arguments for NMAKE: $nmakeargs\n"; } print "Info -- Using unix find in $odr->{unixfind}->{value}\n" if ($verbose); @@ -519,7 +519,7 @@ sub main { chdir("$wd\\athena") or die "Fatal -- couldn't chdir to source directory $wd\\athena\n"; print "Info -- chdir to ".`cd`."\n" if ($verbose); local $dbgswitch = ($odr->{debug}->{def}) ? " " : "NODEBUG=1"; - !system("perl ../scripts/build.pl --softdirs --nolog $buildtarget $dbgswitch BUILD_KFW=1 BUILD_OFFICIAL=1 DEBUG_SYMBOL=1") + !system("perl ../scripts/build.pl --softdirs --nolog $buildtarget $dbgswitch BUILD_KFW=1 BUILD_OFFICIAL=1 DEBUG_SYMBOL=1 $nmakeargs") or die "Fatal -- build $buildtarget failed."; chdir("$wd") or die "Fatal -- couldn't chdir to $wd."; -- 2.26.2