From 6b7de273d3e0816965e2ec22114262c7986f71ce Mon Sep 17 00:00:00 2001 From: vincents Date: Fri, 10 Mar 2006 21:36:21 +0000 Subject: [PATCH] git-svn-id: trunk@8913 - --- ide/lazarus.lpi | 13 ++++++++++--- ide/lazarus.pp | 1 + ide/main.pp | 2 +- ide/revision.inc | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ide/lazarus.lpi b/ide/lazarus.lpi index a86aa5b5a7..1dd29fd051 100644 --- a/ide/lazarus.lpi +++ b/ide/lazarus.lpi @@ -1,7 +1,7 @@ - + @@ -23,7 +23,8 @@ - + + @@ -36,16 +37,22 @@ + - + + + + + + diff --git a/ide/lazarus.pp b/ide/lazarus.pp index 03b59ef08d..d562c86ddd 100644 --- a/ide/lazarus.pp +++ b/ide/lazarus.pp @@ -33,6 +33,7 @@ program Lazarus; {$mode objfpc}{$H+} +{$APPTYPE CONSOLE} {$I ide.inc} diff --git a/ide/main.pp b/ide/main.pp index 8d6c7066ea..31e21f08d1 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -10228,7 +10228,7 @@ begin CurOptions:=AddCmdLineParameter(CurOptions,'-T'+CurTargetOS); CurTargetCPU:=GetTargetCPU(false); if CurTargetCPU<>'' then - CurOptions:=AddCmdLineParameter(CurOptions,'-d'+CurTargetCPU); + CurOptions:=AddCmdLineParameter(CurOptions,'-P'+CurTargetCPU); {$IFDEF VerboseFPCSrcScan} writeln('TMainIDE.RescanCompilerDefines A ',CurOptions, ' OnlyIfCompilerChanged=',OnlyIfCompilerChanged, diff --git a/ide/revision.inc b/ide/revision.inc index 2bbe5f642b..6ba9185257 100644 --- a/ide/revision.inc +++ b/ide/revision.inc @@ -1,2 +1,2 @@ // Created by Svn2RevisionInc -const RevisionStr = '8642M'; +const RevisionStr = '8897:8904M';