From 4d4b9b7d09e29aa7ef02986a2ce0ca95882c9726 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 6 Sep 2011 19:29:52 +0000 Subject: [PATCH] IDE: do not add -Cr under darwin git-svn-id: trunk@32196 - --- ide/buildprofilemanager.pas | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ide/buildprofilemanager.pas b/ide/buildprofilemanager.pas index 208f9969cb..394484f1fd 100644 --- a/ide/buildprofilemanager.pas +++ b/ide/buildprofilemanager.pas @@ -600,7 +600,12 @@ begin fCleanAll:=False; fTargetPlatform:=Platfrm; fUpdateRevisionInc:=True; + {$IFDEF Darwin} + // FPC on darwin has a bug with -Cr + fOptions.Add('-gw -gl -godwarfsets -gh -gt -Co -Ci -Sa'); + {$ELSE} fOptions.Add('-gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa'); + {$ENDIF} for i:=0 to fMakeModeDefs.Count-1 do if fMakeModeDefs[i].Description=lisIDE then fMakeModes[i]:=mmBuild