From 6d1185d76b8308bcaa1dd43a045d2e5d9e472a17 Mon Sep 17 00:00:00 2001 From: Martin Date: Sat, 16 Oct 2021 11:44:22 +0200 Subject: [PATCH] Disable PEEPHOLE opt in fpc 3.2.0 to fpc 3.2.3 => there is a bug that can cause crashed in fpdebug/lazutils --- components/fpdebug/fpdebug.lpk | 15 +++++++++++++++ .../lazdebuggers/lazdebuggerfp/lazdebuggerfp.lpk | 15 +++++++++++++++ lcl/lclbase.lpk | 8 +++++++- 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/components/fpdebug/fpdebug.lpk b/components/fpdebug/fpdebug.lpk index b973621f1f..47cd0e0270 100644 --- a/components/fpdebug/fpdebug.lpk +++ b/components/fpdebug/fpdebug.lpk @@ -12,6 +12,21 @@ + diff --git a/components/lazdebuggers/lazdebuggerfp/lazdebuggerfp.lpk b/components/lazdebuggers/lazdebuggerfp/lazdebuggerfp.lpk index 19a600eb24..e6e5a06be4 100644 --- a/components/lazdebuggers/lazdebuggerfp/lazdebuggerfp.lpk +++ b/components/lazdebuggers/lazdebuggerfp/lazdebuggerfp.lpk @@ -9,6 +9,21 @@ + diff --git a/lcl/lclbase.lpk b/lcl/lclbase.lpk index 2f7fed0b92..77ba458896 100644 --- a/lcl/lclbase.lpk +++ b/lcl/lclbase.lpk @@ -13,7 +13,13 @@ + UnitPath := 'nonwin32'; + +if(GetProjValue('FPC_FULLVERSION') > 30200) and + (GetProjValue('FPC_FULLVERSION') < 30204) +then begin +CustomOptions := '-OoNOPEEPHOLE' ; +end;"/>