Browse Source

* 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 năm trước cách đây
mục cha
commit
7a8921a060
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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