Disable PEEPHOLE opt in fpc 3.2.0 to fpc 3.2.3 => there is a bug that can cause crashed in fpdebug/lazutils

(cherry picked from commit 6d1185d76b)
This commit is contained in:
Martin 2021-10-16 11:44:22 +02:00
parent a111270ed0
commit 78bb88de35
3 changed files with 37 additions and 1 deletions

View File

@ -12,6 +12,21 @@
<OtherUnitFiles Value="."/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Conditionals Value="if(GetProjValue(&apos;FPC_FULLVERSION&apos;) > 30200) and
(GetProjValue(&apos;FPC_FULLVERSION&apos;) &lt; 30204)
then begin
CustomOptions := &apos;-OoNOPEEPHOLE&apos; ;
end;
// example for adding linker options on Mac OS X
//if TargetOS=&apos;darwin&apos; then
// LinkerOptions := &apos; -framework OpenGL&apos;;
// example for adding a unit and include path on Windows
//if SrcOS=&apos;win&apos; then begin
// UnitPath += &apos;;win&apos;;
// IncPath += &apos;;win&apos;;
//end;"/>
<Other>
<Verbosity>
<ShowWarn Value="False"/>

View File

@ -9,6 +9,21 @@
<SearchPaths>
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Conditionals Value="if(GetProjValue(&apos;FPC_FULLVERSION&apos;) > 30200) and
(GetProjValue(&apos;FPC_FULLVERSION&apos;) &lt; 30204)
then begin
CustomOptions := &apos;-OoNOPEEPHOLE&apos; ;
end;
// example for adding linker options on Mac OS X
//if TargetOS=&apos;darwin&apos; then
// LinkerOptions := &apos; -framework OpenGL&apos;;
// example for adding a unit and include path on Windows
//if SrcOS=&apos;win&apos; then begin
// UnitPath += &apos;;win&apos;;
// IncPath += &apos;;win&apos;;
//end;"/>
<Other>
<CompilerMessages>
<IgnoredMessages idx6058="True" idx3123="True"/>

View File

@ -13,7 +13,13 @@
<UnitOutputDirectory Value="units/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Conditionals Value="if SrcOS&lt;>&apos;win&apos; then
UnitPath := &apos;nonwin32&apos;;"/>
UnitPath := &apos;nonwin32&apos;;
if(GetProjValue(&apos;FPC_FULLVERSION&apos;) > 30200) and
(GetProjValue(&apos;FPC_FULLVERSION&apos;) &lt; 30204)
then begin
CustomOptions := &apos;-OoNOPEEPHOLE&apos; ;
end;"/>
<Other>
<Verbosity>
<ShowNotes Value="False"/>