Przeglądaj źródła

* define DEBUG_AOPTCPU if EXTDEBUG is used

florian 3 lat temu
rodzic
commit
2e8c99947a
2 zmienionych plików z 5 dodań i 1 usunięć
  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