Explorar o código

* define CPULLVM when using the LLVM backend (in addtion to the CPUXXX define
for the actual target architecture)

git-svn-id: trunk@31405 -

Jonas Maebe %!s(int64=10) %!d(string=hai) anos
pai
achega
7a8921a060
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      compiler/options.pas

+ 4 - 0
compiler/options.pas

@@ -3845,6 +3845,10 @@ if (target_info.abi = abi_eabihf) then
 
   def_system_macro('FPU'+fputypestr[init_settings.fputype]);
 
+{$ifdef llvm}
+  def_system_macro('CPULLVM');
+{$endif llvm}
+
 {$if defined(cpucapabilities)}
   for cpuflag:=low(cpuflag) to high(cpuflag) do
     begin