IDE: fixed running svn2revisioninc when building the IDE. This used to happen in the compile-the-without-linking step.

git-svn-id: trunk@14334 -
This commit is contained in:
vincents 2008-02-29 23:02:51 +00:00
parent 54230934eb
commit fe6405f549

View File

@ -366,8 +366,6 @@ begin
Tool.EnvironmentOverrides.Values['LCL_PLATFORM']:=
LCLPlatformDirNames[Options.LCLPlatform];
Tool.EnvironmentOverrides.Values['LANG']:= 'en_US';
if blfOnlyIDE in Flags then
Tool.EnvironmentOverrides.Values['USESVN2REVISIONINC']:= '0';
if CompilerPath<>'' then
Tool.EnvironmentOverrides.Values['PP']:=CompilerPath;
if not FileExists(Tool.Filename) then begin
@ -455,9 +453,6 @@ begin
// append target CPU
if Options.TargetCPU<>'' then
Tool.CmdLineParams:=Tool.CmdLineParams+' CPU_TARGET='+Options.TargetCPU;
// don't run svn2revisioninc when building the IDE for the second time
if not (blfWithoutLinkingIDE in Flags) then
Tool.CmdLineParams:=Tool.CmdLineParams+' USESVN2REVISIONINC=0';
// run
Result:=ExternalTools.Run(Tool,Macros);
if Result<>mrOk then exit;