Browse Source

* define DEBUG_AOPTCPU if EXTDEBUG is used

florian 3 years ago
parent
commit
2e8c99947a
2 changed files with 5 additions and 1 deletions
  1. 3 1
      compiler/aarch64/aoptcpu.pas
  2. 2 0
      compiler/armgen/aoptarm.pas

+ 3 - 1
compiler/aarch64/aoptcpu.pas

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

+ 2 - 0
compiler/armgen/aoptarm.pas

@@ -26,7 +26,9 @@ Unit aoptarm;
 {$i fpcdefs.inc}
 
 { $define DEBUG_PREREGSCHEDULER}
+{$ifdef EXTDEBUG}
 {$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 Interface