diff --git a/compiler/i386/aoptcpu.pas b/compiler/i386/aoptcpu.pas index 77d36abc88..f120c04fd6 100644 --- a/compiler/i386/aoptcpu.pas +++ b/compiler/i386/aoptcpu.pas @@ -24,7 +24,9 @@ unit aoptcpu; {$i fpcdefs.inc} -{ $define DEBUG_AOPTCPU} +{$ifdef EXTDEBUG} +{$define DEBUG_AOPTCPU} +{$endif EXTDEBUG} Interface diff --git a/compiler/x86/aoptx86.pas b/compiler/x86/aoptx86.pas index 962335e757..17ee900914 100644 --- a/compiler/x86/aoptx86.pas +++ b/compiler/x86/aoptx86.pas @@ -23,7 +23,9 @@ unit aoptx86; {$i fpcdefs.inc} +{$ifdef EXTDEBUG} {$define DEBUG_AOPTCPU} +{$endif EXTDEBUG} interface