2
0
Эх сурвалжийг харах

* 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 10 жил өмнө
parent
commit
7a8921a060

+ 4 - 0
compiler/options.pas

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