Browse Source

* by default, DEBUG_AOPTCPU is only enabled if the compiler is compiled with -dEXTDEBUG

florian 3 years ago
parent
commit
2c180cf101
2 changed files with 5 additions and 1 deletions
  1. 3 1
      compiler/i386/aoptcpu.pas
  2. 2 0
      compiler/x86/aoptx86.pas

+ 3 - 1
compiler/i386/aoptcpu.pas

@@ -24,7 +24,9 @@ unit aoptcpu;
 
 {$i fpcdefs.inc}
 
-{ $define DEBUG_AOPTCPU}
+{$ifdef EXTDEBUG}
+{$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
   Interface
 

+ 2 - 0
compiler/x86/aoptx86.pas

@@ -23,7 +23,9 @@ unit aoptx86;
 
 {$i fpcdefs.inc}
 
+{$ifdef EXTDEBUG}
 {$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
   interface