win32 cross installer: fixed setting source os

git-svn-id: trunk@10850 -
This commit is contained in:
vincents 2007-04-02 18:05:37 +00:00
parent 52f9a8581e
commit 738b5d15f0
2 changed files with 1 additions and 2 deletions

View File

@ -53,7 +53,7 @@ rm -rf %FPCSVNDIR%\fpcsrc\compiler\*.exe
%MAKEEXE% compiler_cycle FPC=%RELEASE_PPC%
FOR /F %%L IN ('%FPCSVNDIR%\fpcsrc\compiler\utils\fpc.exe -PB') DO SET COMPILER=%FPCSVNDIR%\fpcsrc\compiler\%%L
FOR /F %%L IN ('%FPCSVNDIR%\fpcsrc\compiler\utils\fpc.exe -iSO') DO SET FPCSourceOS=%FPCSVNDIR%\fpcsrc\compiler\%%L
FOR /F %%L IN ('%COMPILER% -iSO') DO SET FPCSourceOS=%%L
FOR /F %%L IN ('%FPCSVNDIR%\fpcsrc\compiler\utils\fpc.exe -P%TARGETCPU% -PB') DO SET PPCNAME=%%L
%MAKEEXE% compiler FPC=%COMPILER% PPC_TARGET=%TARGETCPU% EXENAME=%PPCNAME%

View File

@ -6,7 +6,6 @@ EnableISX=true
#define FPCSourceOS GetEnv('FPCSourceOS')
#define FPCFullSource GetEnv('FPCFullSource')
#define FPCFullTarget GetEnv('FPCFullTarget')
#define FPCTargetOS GetEnv('FPCSourceOS')
#define AppName "Lazarus"
#define SetupDate GetEnv('DateStamp')
#define BuildDir GetEnv('BuildDir')