瀏覽代碼

* 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 年之前
父節點
當前提交
7a8921a060
共有 1 個文件被更改,包括 4 次插入0 次删除
  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