Browse Source

* add llvminfo to override optimizer switches in case of {$ifdef llvm}

git-svn-id: trunk@32901 -
Jonas Maebe 9 years ago
parent
commit
f5a3bab7d4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/switches.pas

+ 4 - 0
compiler/switches.pas

@@ -42,6 +42,10 @@ procedure flushpendingswitchesstate;
 implementation
 uses
   systems,cpuinfo,
+{$ifdef llvm}
+  { override optimizer switches }
+  llvminfo,
+{$endif llvm}
   globals,verbose,comphook,dirparse,
   fmodule;